Class ImageButton (namespace Nette\Forms)


Submittable image button form control.

Object
   |
   --Component
      |
      --FormControl
         |
         --Button
            |
            --SubmitButton
               |
               --ImageButton
Author: David Grudl
Copyright: Copyright (c) 2004, 2009 David Grudl
Located: in /Forms/Controls/ImageButton.php (line 34)
Public Method Summary
ImageButton
__construct (string $src, string $alt)
void
loadHttpData (array $data)
Loads HTTP data.
Methods Inherited From SubmitButton
__construct(), click(), getValidationScope(), isSubmittedBy(), setValidationScope(), validateSubmitted()
Methods Inherited From Button
__construct(), getControl(), getLabel(), setValue()
Methods Inherited From FormControl
__construct(), addCondition(), addConditionOn(), addError(), addRule(), 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 Component
__construct(), attached(), detached(), getName(), getParent(), getService(), getServiceLocator(), lookup(), lookupPath(), monitor(), setParent(), setServiceLocator(), validateParent(), __clone(), __wakeup()
Methods Inherited From Object
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset()
Variable Summary

Method Details

line 41

__construct

public ImageButton __construct (string $src, string $alt)

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

line 56

loadHttpData

public void loadHttpData (array $data)

Loads HTTP data.

Input
array $data
Output
void