Packages

  • Nette
    • Application
      • Diagnostics
      • Responses
      • Routers
      • UI
    • Caching
      • Storages
    • ComponentModel
    • Config
      • Adapters
      • Extensions
    • Database
      • Diagnostics
      • Drivers
      • Reflection
      • Table
    • DI
      • Diagnostics
    • Diagnostics
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Latte
      • Macros
    • Loaders
    • Localization
    • Mail
    • Reflection
    • Security
      • Diagnostics
    • Templating
    • Utils
      • PhpGenerator
  • NetteModule
  • none

Classes

  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Other releases
  • Nette homepage

Class ImageButton

Submittable image button form control.

Object
Extended by Component implements IComponent
Extended by FormControl implements IFormControl
Extended by Button
Extended by SubmitButton implements ISubmitterControl
Extended by ImageButton
Package: Nette\Forms\Controls
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

Overrides

SubmitButton::__construct()
public string
# getHtmlName( )

Returns HTML name of control.

Returns HTML name of control.

Returns

string

Overrides

FormControl::getHtmlName()
public
# loadHttpData( )

Loads HTTP data.

Loads HTTP data.

Overrides

FormControl::loadHttpData()
Methods inherited from SubmitButton
click(), getValidationScope(), isSubmittedBy(), setValidationScope(), setValue()
Methods inherited from Button
getControl(), getLabel()
Methods inherited from FormControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), exportRules(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), isFilled(), isRequired(), setAttribute(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setRequired(), setTranslator(), translate()
Methods inherited from Component
__clone(), __sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from IComponent
setParent()
Constants inherited from IComponent
NAME_SEPARATOR
Properties inherited from SubmitButton
$onClick, $onInvalidClick
Properties inherited from FormControl
$caption, $control, $idMask, $label, $value
Magic properties inherited from SubmitButton
$submittedBy, $validationScope
Magic properties inherited from FormControl
$control, $controlPrototype, $defaultValue, $disabled, $errors, $filled, $form, $htmlId, $htmlName, $label, $labelPrototype, $options, $required, $rules, $translator, $value
Magic properties inherited from Component
$name, $parent
Magic properties inherited from Object
$reflection
Nette Framework 2.0.18 (for PHP 5.2, un-prefixed) API documentation generated by ApiGen 2.8.0