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

Static Public Member Functions

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

Static Protected Member Functions

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

Protected Attributes

bool $escapeOutput = false
 
bool $escapeChildren = false
 

Detailed Description

Utility ViewHelper for phpinfo()

Definition at line 29 of file PhpInfoViewHelper.php.

Member Function Documentation

◆ changeHtmlToHtml5()

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

Change HTML markup to HTML5.

Parameters
string$html‪HTML markup to be cleaned

Definition at line 70 of file PhpInfoViewHelper.php.

◆ getPhpInfo()

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

Get information about PHP's configuration as HTML string

Definition at line 48 of file PhpInfoViewHelper.php.

◆ removeAllHtmlOutsideBody()

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

Remove all HTML outside the body tag from HTML string.

Definition at line 58 of file PhpInfoViewHelper.php.

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

◆ renderStatic()

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

Member Data Documentation

◆ $escapeChildren

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

Definition at line 38 of file PhpInfoViewHelper.php.

◆ $escapeOutput

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

Definition at line 34 of file PhpInfoViewHelper.php.