Class ImageButton
Submittable image button form control.
-
Object
-
Component
implements
IComponent
-
FormControl
implements
IFormControl
-
Button
-
SubmitButton
implements
ISubmitterControl
-
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
string
|
#
getHtmlName( )
Returns HTML name of control.
Returns HTML name of control.
Returns
string
Overrides
|
public
|
|
Methods inherited from FormControl
addCondition(),
addConditionOn(),
addError(),
addRule(),
attached(),
cleanErrors(),
exportRules(),
getControlPrototype(),
getErrors(),
getForm(),
getHtmlId(),
getLabelPrototype(),
getOption(),
getOptions(),
getRules(),
getTranslator(),
getValue(),
hasErrors(),
isDisabled(),
isFilled(),
isRequired(),
setAttribute(),
setDefaultValue(),
setDisabled(),
setHtmlId(),
setOption(),
setRequired(),
setTranslator(),
translate()
|
Methods inherited from Component
__clone(),
__sleep(),
__wakeup(),
detached(),
getName(),
getParent(),
lookup(),
lookupPath(),
monitor(),
unmonitor(),
validateParent()
|
Magic properties inherited from FormControl
$control,
$controlPrototype,
$defaultValue,
$disabled,
$errors,
$filled,
$form,
$htmlId,
$htmlName,
$label,
$labelPrototype,
$options,
$required,
$rules,
$translator,
$value
|