PhpInfoViewHelper extends AbstractViewHelper
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
- 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
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