PHP 클래스 Neos\Media\ViewHelpers\Form\CheckboxViewHelper

= Examples = (depending on $object) (depending on property "interests")
상속: extends Neos\FluidAdaptor\ViewHelpers\Form\AbstractFormFieldViewHelper
파일 보기 프로젝트 열기: neos/neos-development-collection

보호된 프로퍼티들

프로퍼티 타입 설명
$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