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

또한 보기: http://www.php.net/manual/en/function.nl2br.php = Examples = {text_with_linebreaks} text with line breaks replaced by
{text_with_linebreaks -> f:format.nl2br()} text with line breaks replaced by
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$escapeOutput boolean

공개 메소드들

메소드 설명
render ( string $value = null ) : string Replaces newline characters by HTML line breaks.
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies nl2br() on the specified value.

메소드 상세

render() 공개 메소드

Replaces newline characters by HTML line breaks.
public render ( string $value = null ) : string
$value string string to format
리턴 string the altered string.

renderStatic() 공개 정적인 메소드

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

프로퍼티 상세

$escapeOutput 보호되어 있는 프로퍼티

protected bool $escapeOutput
리턴 boolean