Class NImageButton
Submittable image button form control.
- NObject
-
NComponent implements IComponent
-
NFormControl implements IFormControl
-
NButton
-
NSubmitButton implements ISubmitterControl
-
NImageButton
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 NSubmitButton
__construct(), setValue(), isSubmittedBy(), setValidationScope(), getValidationScope(), click(), validateSubmitted()
Methods Inherited From NButton
Methods Inherited From NFormControl
__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 NComponent
__construct(), lookup(), lookupPath(), monitor(), unmonitor(), attached(), detached(), getName(), getParent(), validateParent(), __clone(), __wakeup()
Methods Inherited From NObject
getReflection(), __call(), __callStatic(), extensionMethod(), __get(), __set(), __isset(), __unset()
Constants Inherited From NComponent
NAME_SEPARATOR
Properties Inherited From NSubmitButton
$onClick, $onInvalidClick
Properties Inherited From NFormControl
$idMask, $caption, $value, $control, $label