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

Interfaces

Exceptions

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

Class AppForm

Web form adapted for Presenter.

Object
Extended by Component implements IComponent
Extended by ComponentContainer implements IComponentContainer
Extended by FormContainer implements ArrayAccess
Extended by Form
Extended by AppForm implements ISignalReceiver
Package: Nette\Application\UI
Author: David Grudl
Located at Application/UI/Form.php
Methods summary
public
# __construct( IComponentContainer $parent = NULL, $name = NULL )

Application form constructor.

Application form constructor.

Parameters

$parent
string
$name

Overrides

Form::__construct()
public 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

Presenter|null
protected
# attached( 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
IComponent

Overrides

Form::attached()
public boolean
# isAnchored( )

Tells if the form is anchored.

Tells if the form is anchored.

Returns

boolean

Overrides

Form::isAnchored()
protected array|null
# receiveHttpData( )

Internal: returns submitted HTTP data or NULL when form was not submitted.

Internal: returns submitted HTTP data or NULL when form was not submitted.

Returns

array|null

Overrides

Form::receiveHttpData()
public
# signalReceived( string $signal )

This method is called by presenter.

This method is called by presenter.

Parameters

$signal
string

Implementation of

ISignalReceiver::signalReceived()
Methods inherited from 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 FormContainer
__clone(), addButton(), addCheckbox(), addComponent(), addContainer(), addFile(), addHidden(), addImage(), addMultiSelect(), addPassword(), addRadioList(), addSelect(), addSubmit(), addText(), addTextArea(), addUpload(), getControls(), getCurrentGroup(), isValid(), offsetExists(), offsetGet(), offsetSet(), offsetUnset(), setCurrentGroup(), setDefaults(), setValues(), validate()
Methods inherited from ComponentContainer
createComponent(), getComponent(), getComponents(), removeComponent(), validateChildComponent()
Methods inherited from Component
__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 Form
BLANK, COUNT, EMAIL, EQUAL, FILLED, FLOAT, GET, IMAGE, INTEGER, IS_IN, LENGTH, MAX_FILE_SIZE, MAX_LENGTH, MIME_TYPE, MIN_LENGTH, NOT_EQUAL, NUMERIC, PATTERN, POST, PROTECTION, PROTECTOR_ID, RANGE, REGEXP, REQUIRED, SUBMITTED, TRACKER_ID, URL, VALID
Constants inherited from IComponent
NAME_SEPARATOR
Properties inherited from Form
$httpRequest, $onError, $onInvalidSubmit, $onSubmit, $onSuccess
Properties inherited from FormContainer
$currentGroup, $onValidate, $valid
Magic properties summary
public read-only Presenter $presenter
#
Magic properties inherited from Form
$action, $anchored, $elementPrototype, $errors, $groups, $httpData, $method, $renderer, $submitted, $success, $translator
Magic properties inherited from FormContainer
$controls, $currentGroup, $defaults, $form, $valid, $values
Magic properties inherited from ComponentContainer
$components
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