PHP Класс Neos\FluidAdaptor\ViewHelpers\Format\UrlencodeViewHelper

См. также: http://www.php.net/manual/function.urlencode.php = Examples = foo @+%/ foo%20%40%2B%25%2F (rawurlencode() applied) {text -> f:format.urlencode()} Url encoded text (rawurlencode() applied)
Наследование: extends Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$escapeChildren boolean

Открытые методы

Метод Описание
render ( string $value = null ) : mixed Escapes special characters with their escaped counterparts as needed using PHPs urlencode() function.
renderStatic ( array $arguments, Closure $renderChildrenClosure, TYPO3Fluid\Fluid\Core\Rendering\RenderingContextInterface $renderingContext ) : string Applies rawurlencode() on the specified value.

Описание методов

render() публичный Метод

Escapes special characters with their escaped counterparts as needed using PHPs urlencode() function.
См. также: http://www.php.net/manual/function.urlencode.php
public render ( string $value = null ) : mixed
$value string string to format
Результат mixed

renderStatic() публичный статический Метод

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