Packages

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

Classes

  • NButton
  • NCheckbox
  • NConventionalRenderer
  • NFileUpload
  • NForm
  • NFormContainer
  • NFormGroup
  • NHiddenField
  • NImageButton
  • NInstantClientScript
  • NMultiSelectBox
  • NRadioList
  • NRule
  • NRules
  • NSelectBox
  • NSubmitButton
  • NTextArea
  • NTextBase
  • NTextInput

Interfaces

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

Class NImageButton

Submittable image button form control.

NObject
Extended by NComponent implements IComponent
Extended by NFormControl implements IFormControl
Extended by NButton
Extended by NSubmitButton implements ISubmitterControl
Extended by NImageButton
Package: 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

IFormControl::loadHttpData
Methods inherited from NSubmitButton
click(), getValidationScope(), isSubmittedBy(), setValidationScope(), setValue(), validateSubmitted()
Methods inherited from NButton
getControl(), getLabel()
Methods inherited from NFormControl
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 NComponent
__clone(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), setParent(), unmonitor(), validateParent()
Methods inherited from NObject
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Constants inherited from IComponent
NAME_SEPARATOR
Properties inherited from NSubmitButton
$onClick, $onInvalidClick
Properties inherited from NFormControl
$caption, $control, $idMask, $label, $value
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0