Class ImageButton
Submittable image button form control.
-
Nette\Object
-
Nette\Component
implements
Nette\IComponent
-
Nette\Forms\FormControl
implements
Nette\Forms\IFormControl
-
Nette\Forms\Button
-
Nette\Forms\SubmitButton
implements
Nette\Forms\ISubmitterControl
-
Nette\Forms\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
|
public
string
|
#
getHtmlName( )
Returns name of control within a Form & INamingContainer scope.
Returns name of control within a Form & INamingContainer scope.
Returns
string
|
public
|
|
Methods inherited from Nette\Forms\FormControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
getControlPrototype(),
getErrors(),
getForm(),
getHtmlId(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
notifyRule(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOption(),
setTranslator(),
translate(),
validateEqual(),
validateFilled(),
validateValid()
|
Methods inherited from Nette\Component
__clone(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
setParent(),
unmonitor(),
validateParent()
|