PhpInfoViewHelper extends AbstractViewHelper

FinalYes

Utility ViewHelper for phpinfo()

Internal

Table of Contents

Properties

$escapeChildren  : bool
$escapeOutput  : bool

Methods

render()  : 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

render()

public render() : string
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