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

= Examples = This is some very long text This is so... This is some very long text This is some very [more] John Doe John Doe WARNING: This tag does NOT handle tags currently. WARNING: This tag doesn't care about multibyte charsets currently.
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$escapeChildren boolean

공개 메소드들

메소드 설명
render ( integer $maxCharacters, string $append = '...', string $value = null ) : string Render the cropped text
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string

메소드 상세

render() 공개 메소드

Render the cropped text
public render ( integer $maxCharacters, string $append = '...', string $value = null ) : string
$maxCharacters integer Place where to truncate the string
$append string What to append, if truncation happened
$value string The input value which should be cropped. If not set, the evaluated contents of the child nodes will be used
리턴 string cropped text

renderStatic() 공개 정적인 메소드

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