Namespaces

  • 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
  • PHP

Classes

  • Control
  • Form
  • Multiplier
  • Presenter
  • PresenterComponent

Interfaces

  • IRenderable
  • ISignalReceiver
  • IStatePersistent

Exceptions

  • BadSignalException
  • InvalidLinkException
  • Overview
  • Namespace
  • Class
  • Tree

Class Form

Web form adapted for Presenter.

Nette\Object
Extended by Nette\ComponentModel\Component implements Nette\ComponentModel\IComponent
Extended by Nette\ComponentModel\Container implements Nette\ComponentModel\IContainer
Extended by Nette\Forms\Container implements ArrayAccess
Extended by Nette\Forms\Form
Extended by Nette\Application\UI\Form implements Nette\Application\UI\ISignalReceiver
Namespace: Nette\Application\UI
Author: David Grudl
Located at Application/UI/Form.php
Methods summary
public
# __construct( Nette\ComponentModel\IContainer $parent = NULL, $name = NULL )

Application form constructor.

Application form constructor.

Parameters

$parent
string
$name

Overrides

Nette\Forms\Form::__construct
public Nette\Application\UI\Presenter|null
# getPresenter( boolean $need = TRUE )

Returns the presenter where this component belongs to.

Returns the presenter where this component belongs to.

Parameters

$need
boolean
throw exception if presenter doesn't exist?

Returns

Nette\Application\UI\Presenter|null
protected
# attached( Nette\ComponentModel\IComponent $presenter )

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.

This method will be called when the component (or component's parent) becomes attached to a monitored object. Do not call this method yourself.

Parameters

$presenter
Nette\ComponentModel\IComponent

Overrides

Nette\Forms\Form::attached
public boolean
# isAnchored( )

Tells if the form is anchored.

Tells if the form is anchored.

Returns

boolean

Overrides

Nette\Forms\Form::isAnchored
protected array
# receiveHttpData( )

Internal: receives submitted HTTP data.

Internal: receives submitted HTTP data.

Returns

array

Overrides

Nette\Forms\Form::receiveHttpData
public
# signalReceived( string $signal )

This method is called by presenter.

This method is called by presenter.

Parameters

$signal
string

Implementation of

Nette\Application\UI\ISignalReceiver::signalReceived
Methods inherited from Nette\Forms\Form
__toString(), addError(), addGroup(), addProtection(), cleanErrors(), fireEvents(), getAction(), getElementPrototype(), getErrors(), getForm(), getGroup(), getGroups(), getHttpData(), getHttpRequest(), getMethod(), getRenderer(), getSession(), getTranslator(), getValues(), hasErrors(), isSubmitted(), isSuccess(), removeGroup(), render(), setAction(), setMethod(), setRenderer(), setSubmittedBy(), setTranslator()
Methods inherited from Nette\Forms\Container
__clone(), addButton(), addCheckbox(), addComponent(), addContainer(), addHidden(), addImage(), addMultiSelect(), addPassword(), addRadioList(), addSelect(), addSubmit(), addText(), addTextArea(), addUpload(), getControls(), getCurrentGroup(), isValid(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setCurrentGroup(), setDefaults(), setValues(), validate()
Methods inherited from Nette\ComponentModel\Container
createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent()
Methods inherited from Nette\ComponentModel\Component
__sleep(), __wakeup(), detached(), getName(), getParent(), lookup(), lookupPath(), monitor(), unmonitor(), validateParent()
Methods inherited from Nette\Object
__call(), __callStatic(), __get(), __isset(), __set(), __unset(), extensionMethod(), getReflection()
Methods inherited from Nette\ComponentModel\IComponent
setParent()
Constants inherited from Nette\Forms\Form
COUNT, EMAIL, EQUAL, FILLED, FLOAT, GET, IMAGE, INTEGER, IS_IN, LENGTH, MAX_FILE_SIZE, MAX_LENGTH, MIME_TYPE, MIN_LENGTH, NUMERIC, PATTERN, POST, PROTECTION, PROTECTOR_ID, RANGE, REGEXP, SUBMITTED, TRACKER_ID, URL, VALID
Constants inherited from Nette\ComponentModel\IComponent
NAME_SEPARATOR
Properties inherited from Nette\Forms\Form
$onError, $onSubmit, $onSuccess
Properties inherited from Nette\Forms\Container
$currentGroup, $onValidate, $valid
Nette Framework 2.0.0 API API documentation generated by ApiGen 2.7.0