PHP Класс Neos\FluidAdaptor\ViewHelpers\Format\HtmlentitiesDecodeViewHelper

См. также: http://www.php.net/html_entity_decode = Examples = {text} Text with & " < > replaced by unescaped entities (html_entity_decode applied). {text -> f:format.htmlentitiesDecode(encoding: 'ISO-8859-1')} Text with & " < > replaced by unescaped entities (html_entity_decode applied).
Наследование: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$escapeChildren boolean
$escapeOutput boolean Disable the output escaping interceptor so that the result is not htmlspecialchar'd

Открытые методы

Метод Описание
render ( string $value = null, boolean $keepQuotes = false, string $encoding = 'UTF-8' ) : string Converts all HTML entities to their applicable characters as needed using PHPs html_entity_decode() function.
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies html_entity_decode() on the specified value.

Описание методов

render() публичный Метод

Converts all HTML entities to their applicable characters as needed using PHPs html_entity_decode() function.
См. также: http://www.php.net/html_entity_decode
public render ( string $value = null, boolean $keepQuotes = false, string $encoding = 'UTF-8' ) : string
$value string string to format
$keepQuotes boolean if TRUE, single and double quotes won't be replaced (sets ENT_NOQUOTES flag)
$encoding string
Результат string the altered string

renderStatic() публичный статический Метод

Applies html_entity_decode() on the specified value.
public static renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string
$arguments array
$renderChildrenClosure Closure
$renderingContext TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface
Результат string

Описание свойств

$escapeChildren защищенное свойство

protected bool $escapeChildren
Результат boolean

$escapeOutput защищенное свойство

Disable the output escaping interceptor so that the result is not htmlspecialchar'd
protected bool $escapeOutput
Результат boolean