Namespaces

  • Nette
    • Application
    • Caching
    • Collections
    • Config
    • Forms
    • IO
    • Loaders
    • Mail
    • Reflection
    • Security
    • Templates
    • Web
  • None
  • PHP

Classes

  • Button
  • Checkbox
  • ConventionalRenderer
  • FileUpload
  • Form
  • FormContainer
  • FormControl
  • FormGroup
  • HiddenField
  • ImageButton
  • InstantClientScript
  • MultiSelectBox
  • RadioList
  • Rule
  • Rules
  • SelectBox
  • SubmitButton
  • TextArea
  • TextBase
  • TextInput

Interfaces

  • IFormControl
  • IFormRenderer
  • INamingContainer
  • ISubmitterControl
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class ImageButton

Submittable image button form control.

Nette\Object
Extended by Nette\Component implements Nette\IComponent
Extended by Nette\Forms\FormControl implements Nette\Forms\IFormControl
Extended by Nette\Forms\Button
Extended by Nette\Forms\SubmitButton implements Nette\Forms\ISubmitterControl
Extended by Nette\Forms\ImageButton
Namespace: Nette\Forms
Author: David Grudl
Located at Forms/Controls/ImageButton.php
Methods summary
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 name of control within a Form & INamingContainer scope.

Returns name of control within a Form & INamingContainer scope.

Returns

string
public
# loadHttpData( )

Loads HTTP data.

Loads HTTP data.

Implementation of

Nette\Forms\IFormControl::loadHttpData
Methods inherited from Nette\Forms\SubmitButton
click(), getValidationScope(), isSubmittedBy(), setValidationScope(), setValue(), validateSubmitted()
Methods inherited from Nette\Forms\Button
getControl(), getLabel()
Methods inherited from Nette\Forms\FormControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), notifyRule(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setTranslator(), translate(), validateEqual(), validateFilled(), validateValid()
Methods inherited from Nette\Component
__clone(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from Nette\IComponent
NAME_SEPARATOR
Properties inherited from Nette\Forms\SubmitButton
$onClick, $onInvalidClick
Properties inherited from Nette\Forms\FormControl
$caption, $control, $idMask, $label, $value
Nette Framework 0.9.7 API documentation generated by ApiGen 2.3.0