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>
FinalYes
Utility ViewHelper 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 as HTML string
- 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 as HTML string
protected
static getPhpInfo() : string
Return values
stringremoveAllHtmlOutsideBody()
Remove all HTML outside the body tag from HTML string.
protected
static removeAllHtmlOutsideBody(string $html) : string
Parameters
- $html : string