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

또한 보기: http://www.php.net/manual/en/function.str_pad.php = Examples = TYPO3 TYPO3 (note the trailing whitespace) TYPO3 TYPO3-=-=- TYPO3 --TYPO3---
상속: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$escapeChildren boolean

공개 메소드들

메소드 설명
render ( integer $padLength, string $padString = ' ', string $padType = 'right', string $value = null ) : string Pad a string to a certain length with another string
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies str_pad() on the specified value.

메소드 상세

render() 공개 메소드

Pad a string to a certain length with another string
public render ( integer $padLength, string $padString = ' ', string $padType = 'right', string $value = null ) : string
$padLength integer Length of the resulting string. If the value of pad_length is negative or less than the length of the input string, no padding takes place.
$padString string The padding string
$padType string Append the padding at this site (Possible values: right,left,both. Default: right)
$value string string to format
리턴 string The formatted value

renderStatic() 공개 정적인 메소드

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