Class Button (namespace Nette\Forms)
Push button control with no default behavior.
Object | --Component | --FormControl | --Button
Direct Known Sub-classes:
Public Method Summary | |
---|---|
Button |
__construct
(string $caption)
|
Html |
getControl
()
Generates control's HTML element.
|
void |
getLabel
()
Bypasses label generation.
|
void |
setValue
(bool $value)
Sets 'pressed' indicator.
|
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 40 __constructpublic Button __construct (string $caption) Overridden in child classes as:
|
||||||||||||
line 76 getControlpublic Html getControl () Generates control's HTML element.
|
||||||||||||
line 53 getLabelpublic void getLabel () Bypasses label generation.
|
||||||||||||
line 65 setValuepublic void setValue (bool $value) Sets 'pressed' indicator.
|