PHP Class Neos\Media\ViewHelpers\Form\CheckboxViewHelper

= Examples = (depending on $object) (depending on property "interests")
Inheritance: extends Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$tagName string

Méthodes publiques

Méthode Description
initializeArguments ( ) : void Initialize the arguments.
render ( boolean $checked = null, boolean $multiple = null ) : string Renders the checkbox.

Méthodes protégées

Méthode Description
getNameWithoutPrefix ( ) : string Get the name of this form element, without prefix.

Method Details

getNameWithoutPrefix() protected méthode

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
Résultat string name

initializeArguments() public méthode

Initialize the arguments.
public initializeArguments ( ) : void
Résultat void

render() public méthode

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)
Résultat string

Property Details

$tagName protected_oe property

protected string $tagName
Résultat string