Class ImageButton
Submittable image button form control.
-
Nette\Object
-
Nette\ComponentModel\Component
implements
Nette\ComponentModel\IComponent
-
Nette\Forms\Controls\BaseControl
implements
Nette\Forms\IControl
-
Nette\Forms\Controls\Button
-
Nette\Forms\Controls\SubmitButton
implements
Nette\Forms\ISubmitterControl
-
Nette\Forms\Controls\ImageButton
Methods summary
public
|
#
__construct( string $src = NULL, string $alt = NULL )
Parameters
- $src
string URI of the image
- $alt
string alternate text for the image
Overrides
|
public
|
|
public
string
|
#
getHtmlName( )
Returns HTML name of control.
Returns HTML name of control.
Returns
string
Overrides
|
Methods inherited from Nette\Forms\Controls\BaseControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
exportRules(),
getControlPrototype(),
getError(),
getErrors(),
getForm(),
getHtmlId(),
getHttpData(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isOmitted(),
isRequired(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOmitted(),
setOption(),
setRequired(),
setTranslator(),
setValue(),
translate(),
validate()
|
Methods inherited from Nette\ComponentModel\Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from Nette\Forms\Controls\BaseControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$omitted,
$options,
$required,
$rules,
$translator,
$value
|