PHP Класс Neos\Media\ViewHelpers\Form\CheckboxViewHelper

= Examples = (depending on $object) (depending on property "interests")
Наследование: extends Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper
Показать файл Открыть проект

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

Свойство Тип Описание
$tagName string

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

Метод Описание
initializeArguments ( ) : void Initialize the arguments.
render ( boolean $checked = null, boolean $multiple = null ) : string Renders the checkbox.

Защищенные методы

Метод Описание
getNameWithoutPrefix ( ) : string Get the name of this form element, without prefix.

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

getNameWithoutPrefix() защищенный Метод

This is done to prevent the extra __identity being added for objects since it leading to property mapping errors and it works without it.
protected getNameWithoutPrefix ( ) : string
Результат string name

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

Initialize the arguments.
public initializeArguments ( ) : void
Результат void

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

This is changed to use the actual provided value of the value attribute to support selecting object values.
public render ( boolean $checked = null, boolean $multiple = null ) : string
$checked boolean Specifies that the input element should be preselected
$multiple boolean Specifies whether this checkbox belongs to a multivalue (is part of a checkbox group)
Результат string

Описание свойств

$tagName защищенное свойство

protected string $tagName
Результат string