PhpInfoViewHelper extends AbstractViewHelper uses CompileWithRenderStatic
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <.typo3.cms.install.s.phpinfo>
Utility class for phpinfo()
Table of Contents
Properties
- $escapeChildren : bool
- $escapeOutput : bool
Methods
- renderStatic() : string
- changeHtmlToHtml5() : string
- Change HTML markup to HTML5
- getPhpInfo() : string
- Get information about PHP's configuration
- removeAllHtmlOutsideBody() : string
- Remove all HTML outside the body tag from HTML string
Properties
$escapeChildren
protected
bool
$escapeChildren
= false
$escapeOutput
protected
bool
$escapeOutput
= false
Methods
renderStatic()
public
static renderStatic(array<string|int, mixed> $arguments, Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) : string
Parameters
- $arguments : array<string|int, mixed>
- $renderChildrenClosure : Closure
- $renderingContext : RenderingContextInterface
Return values
stringchangeHtmlToHtml5()
Change HTML markup to HTML5
protected
static changeHtmlToHtml5(string $html) : string
Parameters
- $html : string
-
HTML markup to be cleaned
Return values
stringgetPhpInfo()
Get information about PHP's configuration
protected
static getPhpInfo() : string
Return values
string —HTML page with the configuration options
removeAllHtmlOutsideBody()
Remove all HTML outside the body tag from HTML string
protected
static removeAllHtmlOutsideBody(string $html) : string
Parameters
- $html : string
-
Complete HTML markup for page
Return values
string —Content of the body tag