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
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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