PHP Class Nette\Forms\Controls\Checkbox

Inheritance: extends BaseControl
Afficher le fichier Open project: nette/forms Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $label = NULL )
getControl ( ) : Nette\Utils\Html Generates control's HTML element.
getControlPart ( ) : Nette\Utils\Html
getLabel ( $caption = NULL ) : void Bypasses label generation.
getLabelPart ( ) : Nette\Utils\Html
getSeparatorPrototype ( ) : Nette\Utils\Html Returns wrapper HTML element template.
isFilled ( ) : boolean Is control filled?
setValue ( $value ) : self Sets control's value.

Method Details

__construct() public méthode

public __construct ( $label = NULL )

getControl() public méthode

Generates control's HTML element.
public getControl ( ) : Nette\Utils\Html
Résultat Nette\Utils\Html

getControlPart() public méthode

public getControlPart ( ) : Nette\Utils\Html
Résultat Nette\Utils\Html

getLabel() public méthode

Bypasses label generation.
public getLabel ( $caption = NULL ) : void
Résultat void

getLabelPart() public méthode

public getLabelPart ( ) : Nette\Utils\Html
Résultat Nette\Utils\Html

getSeparatorPrototype() public méthode

Returns wrapper HTML element template.
public getSeparatorPrototype ( ) : Nette\Utils\Html
Résultat Nette\Utils\Html

isFilled() public méthode

Is control filled?
public isFilled ( ) : boolean
Résultat boolean

setValue() public méthode

Sets control's value.
public setValue ( $value ) : self
Résultat self