Class NImageButton


Submittable image button form control.

NObject
   |
   --NComponent
      |
      --NFormControl
         |
         --NButton
            |
            --NSubmitButton
               |
               --NImageButton
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/ImageButton.php (line 33)
Public Method Summary
NImageButton
__construct ([string $src = NULL], [string $alt = NULL])
string
Returns name of control within a NForm & INamingContainer scope.
void
Loads HTTP data.
Methods Inherited From NSubmitButton
__construct(), click(), getValidationScope(), isSubmittedBy(), setValidationScope(), setValue(), validateSubmitted()
Methods Inherited From NButton
__construct(), getControl(), getLabel()
Methods Inherited From NFormControl
__construct(), addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), getControl(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabel(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), isRendered(), isRequired(), loadHttpData(), notifyRule(), setDisabled(), setHtmlId(), setOption(), setParent(), setRendered(), setRequired(), setTranslator(), setValue(), translate(), validateEqual(), validateFilled(), validateValid()
Methods Inherited From NComponent
__construct(), attached(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent(), __clone(), __wakeup()
Methods Inherited From NObject
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary

Method Details

line 40

__construct

public NImageButton __construct ([string $src = NULL], [string $alt = NULL])

Input
string $src URI of the image
string $alt alternate text for the image
Output
NImageButton  

line 54

getHtmlName

public string getHtmlName ()

Returns name of control within a NForm & INamingContainer scope.

Output
string  

line 66

loadHttpData

public void loadHttpData ()

Loads HTTP data.

Output
void