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 =
NULL ])
|
Html |
getControl
([string $caption =
NULL ])
Generates control's HTML element.
|
void |
getLabel
([$caption =
NULL ])
Bypasses label generation.
|
Methods Inherited From Component |
---|
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup() |
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Variable Summary |
---|
Method Details | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
line 39 __constructpublic Button __construct ([string $caption = Overridden in child classes as:
|
||||||||||||
line 63 getControlpublic Html getControl ([string $caption = Generates control's HTML element.
|
||||||||||||
line 51 getLabelpublic void getLabel ([$caption = Bypasses label generation.
|