PhpInfoViewHelper extends AbstractViewHelper uses CompileWithRenderStatic

FinalYes

Utility ViewHelper for phpinfo()

Internal

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
string

changeHtmlToHtml5()

Change HTML markup to HTML5.

protected static changeHtmlToHtml5(string $html) : string
Parameters
$html : string

HTML markup to be cleaned

Return values
string

getPhpInfo()

Get information about PHP's configuration as HTML string

protected static getPhpInfo() : string
Return values
string

removeAllHtmlOutsideBody()

Remove all HTML outside the body tag from HTML string.

protected static removeAllHtmlOutsideBody(string $html) : string
Parameters
$html : string
Return values
string

        
On this page

Search results