Class Button
Push button control with no default behavior.
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
uses
Nette\SmartObject
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\Button
Methods summary
public
|
|
public
boolean
|
#
isFilled( )
Is button pressed?
Returns
boolean bool
Overrides
|
public
|
#
getLabel( string|object $caption = null )
Bypasses label generation.
Bypasses label generation.
Parameters
Overrides
|
public
Nette\Utils\Html
|
#
getControl( string|object $caption = null )
Generates control's HTML element.
Generates control's HTML element.
Parameters
Returns
Overrides
|
Methods inherited from Nette\Forms\Controls\BaseControl
__call(),
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
enableAutoOptionalMode(),
extensionMethod(),
getControlPart(),
getControlPrototype(),
getError(),
getErrors(),
getForm(),
getHtmlId(),
getHtmlName(),
getHttpData(),
getLabelPart(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isOmitted(),
isRequired(),
loadHttpData(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlAttribute(),
setHtmlId(),
setOmitted(),
setOption(),
setRequired(),
setTranslator(),
setValue(),
translate(),
validate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$disabled,
$error,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$value
|