‪TYPO3CMS  11.5
TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper Class Reference
Inheritance diagram for TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper:

Public Member Functions

 initializeArguments ()
 

Static Public Member Functions

static string renderStatic (array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext)
 

Static Protected Attributes

static array $levelNames
 

Detailed Description

Transform PHP error code to readable text

Definition at line 27 of file PhpErrorCodeViewHelper.php.

Member Function Documentation

◆ initializeArguments()

TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper::initializeArguments ( )

Initialize arguments

Definition at line 53 of file PhpErrorCodeViewHelper.php.

◆ renderStatic()

static string TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static

Render a readable string for PHP error code

Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string

Definition at line 67 of file PhpErrorCodeViewHelper.php.

References $output.

Member Data Documentation

◆ $levelNames

array TYPO3\CMS\Install\ViewHelpers\Format\PhpErrorCodeViewHelper::$levelNames
staticprotected
Initial value:
= array(
E_ERROR => 'E_ERROR',
E_WARNING => 'E_WARNING',
E_PARSE => 'E_PARSE',
E_NOTICE => 'E_NOTICE',
E_CORE_ERROR => 'E_CORE_ERROR',
E_CORE_WARNING => 'E_CORE_WARNING',
E_COMPILE_ERROR => 'E_COMPILE_ERROR',
E_COMPILE_WARNING => 'E_COMPILE_WARNING',
E_USER_ERROR => 'E_USER_ERROR',
E_USER_WARNING => 'E_USER_WARNING',
E_USER_NOTICE => 'E_USER_NOTICE',
E_STRICT => 'E_STRICT',
E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR',
E_DEPRECATED => 'E_DEPRECATED',
E_USER_DEPRECATED => 'E_USER_DEPRECATED',
)

Definition at line 32 of file PhpErrorCodeViewHelper.php.