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

Static Public Member Functions

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

Static Protected Member Functions

static string getPhpInfo ()
 
static string removeAllHtmlOutsideBody ($html)
 
static string changeHtmlToHtml5 ($html)
 

Protected Attributes

bool $escapeOutput = false
 
bool $escapeChildren = false
 

Detailed Description

Utility class for phpinfo()

Definition at line 26 of file PhpInfoViewHelper.php.

Member Function Documentation

◆ changeHtmlToHtml5()

static string TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::changeHtmlToHtml5 (   $html)
staticprotected

Change HTML markup to HTML5

Parameters
string$html‪HTML markup to be cleaned
Returns
‪string

Definition at line 86 of file PhpInfoViewHelper.php.

◆ getPhpInfo()

static string TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::getPhpInfo ( )
staticprotected

Get information about PHP's configuration

Returns
‪string HTML page with the configuration options

Definition at line 58 of file PhpInfoViewHelper.php.

◆ removeAllHtmlOutsideBody()

static string TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::removeAllHtmlOutsideBody (   $html)
staticprotected

Remove all HTML outside the body tag from HTML string

Parameters
string$html‪Complete HTML markup for page
Returns
‪string Content of the body tag

Definition at line 71 of file PhpInfoViewHelper.php.

Referenced by TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper\renderStatic().

◆ renderStatic()

static string TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::renderStatic ( array  $arguments,
\Closure  $renderChildrenClosure,
RenderingContextInterface  $renderingContext 
)
static
Parameters
array$arguments
\Closure$renderChildrenClosure
RenderingContextInterface$renderingContext
Returns
‪string

Definition at line 44 of file PhpInfoViewHelper.php.

References TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper\removeAllHtmlOutsideBody().

Member Data Documentation

◆ $escapeChildren

bool TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::$escapeChildren = false
protected

Definition at line 35 of file PhpInfoViewHelper.php.

◆ $escapeOutput

bool TYPO3\CMS\Install\ViewHelpers\PhpInfoViewHelper::$escapeOutput = false
protected

Definition at line 31 of file PhpInfoViewHelper.php.