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 NButton

Push button control with no default behavior.

NObject
Extended by NComponent implements IComponent
Extended by NFormControl implements IFormControl
Extended by NButton

Direct known subclasses

NSubmitButton

Indirect known subclasses

NImageButton
Package: Nette\Forms
Author: David Grudl
Located at Forms/Controls/Button.php
Methods summary
public
# __construct( string $caption = NULL )

Parameters

$caption
string
caption
public
# getLabel( string $caption = NULL )

Bypasses label generation.

Bypasses label generation.

Parameters

$caption
string
public NHtml
# getControl( string $caption = NULL )

Generates control's HTML element.

Generates control's HTML element.

Parameters

$caption
string

Returns

NHtml
Methods inherited from NFormControl
addCondition(), addConditionOn(), addError(), addRule(), attached(), cleanErrors(), getControlPrototype(), getErrors(), getForm(), getHtmlId(), getHtmlName(), getLabelPrototype(), getOption(), getOptions(), getRules(), getTranslator(), getValue(), hasErrors(), isDisabled(), loadHttpData(), notifyRule(), setDefaultValue(), setDisabled(), setHtmlId(), setOption(), setTranslator(), setValue(), 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 NFormControl
$caption, $control, $idMask, $label, $value
Nette Framework 0.9.7 (for PHP 5.2) API documentation generated by ApiGen 2.3.0