PHP 클래스 Nette\Forms\Controls\Checkbox

상속: extends BaseControl
파일 보기 프로젝트 열기: nette/forms 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

public __construct ( $label = NULL )

getControl() 공개 메소드

Generates control's HTML element.
public getControl ( ) : Nette\Utils\Html
리턴 Nette\Utils\Html

getControlPart() 공개 메소드

public getControlPart ( ) : Nette\Utils\Html
리턴 Nette\Utils\Html

getLabel() 공개 메소드

Bypasses label generation.
public getLabel ( $caption = NULL ) : void
리턴 void

getLabelPart() 공개 메소드

public getLabelPart ( ) : Nette\Utils\Html
리턴 Nette\Utils\Html

getSeparatorPrototype() 공개 메소드

Returns wrapper HTML element template.
public getSeparatorPrototype ( ) : Nette\Utils\Html
리턴 Nette\Utils\Html

isFilled() 공개 메소드

Is control filled?
public isFilled ( ) : boolean
리턴 boolean

setValue() 공개 메소드

Sets control's value.
public setValue ( $value ) : self
리턴 self