PHP 클래스 Neos\FluidAdaptor\ViewHelpers\Format\HtmlentitiesViewHelper

또한 보기: http://www.php.net/manual/function.htmlentities.php = Examples = {text} Text with & " ' < > * replaced by HTML entities (htmlentities applied). {text -> f:format.htmlentities(encoding: 'ISO-8859-1')} Text with & " ' < > * replaced by HTML entities (htmlentities 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', boolean $doubleEncode = true ) : string Escapes special characters with their escaped counterparts as needed using PHPs htmlentities() function.
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies htmlentities() on the specified value.

메소드 상세

render() 공개 메소드

Escapes special characters with their escaped counterparts as needed using PHPs htmlentities() function.
또한 보기: http://www.php.net/manual/function.htmlentities.php
public render ( string $value = null, boolean $keepQuotes = false, string $encoding = 'UTF-8', boolean $doubleEncode = true ) : string
$value string string to format
$keepQuotes boolean if TRUE, single and double quotes won't be replaced (sets ENT_NOQUOTES flag)
$encoding string
$doubleEncode boolean If FALSE existing html entities won't be encoded, the default is to convert everything.
리턴 string the altered string

renderStatic() 공개 정적인 메소드

Applies htmlentities() 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