namespace Nette\Forms
Class ImageButton
Submittable image button form control.
- Nette\Object
-
Nette\Component implements Nette\IComponent
-
Nette\Forms\FormControl implements IFormControl
-
Nette\Forms\Button
-
Nette\Forms\SubmitButton implements ISubmitterControl
-
Nette\Forms\ImageButton
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 HTML name of control. Returns HTML name of control. |
public
void
|
#
loadHttpData(
)
Loads HTTP data. |
Methods Inherited From SubmitButton
__construct(), setValue(), isSubmittedBy(), setValidationScope(), getValidationScope(), click(), validateSubmitted()
Methods Inherited From Button
Methods Inherited From FormControl
__construct(), attached(), getForm(), getHtmlName(), setHtmlId(), getHtmlId(), setAttribute(), setOption(), getOption(), getOptions(), setTranslator(), getTranslator(), translate(), setValue(), getValue(), isFilled(), setDefaultValue(), loadHttpData(), setDisabled(), isDisabled(), getControl(), getLabel(), getControlPrototype(), getLabelPrototype(), addRule(), addCondition(), addConditionOn(), getRules(), setRequired(), isRequired(), validateEqual(), validateFilled(), validateValid(), addError(), getErrors(), hasErrors(), cleanErrors()
Methods Inherited From Nette\Component
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From Nette\Object
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From Nette\Component
NAME_SEPARATOR
Properties Inherited From SubmitButton
$onClick, $onInvalidClick
Properties Inherited From FormControl
$idMask, $caption, $value, $control, $label