Namespaces

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

Classes

  • AppForm
  • Application
  • CliRouter
  • Control
  • DownloadResponse
  • ForwardingResponse
  • JsonResponse
  • Link
  • MultiRouter
  • Presenter
  • PresenterComponent
  • PresenterLoader
  • PresenterRequest
  • RedirectingResponse
  • RenderResponse
  • Route
  • SimpleRouter

Interfaces

  • IPartiallyRenderable
  • IPresenter
  • IPresenterLoader
  • IPresenterResponse
  • IRenderable
  • IRouter
  • ISignalReceiver
  • IStatePersistent

Exceptions

  • AbortException
  • ApplicationException
  • BadRequestException
  • BadSignalException
  • ForbiddenRequestException
  • InvalidLinkException
  • InvalidPresenterException
  • Overview
  • Namespace
  • Class
  • Tree
  • Other releases

Class AppForm

Web form as presenter component.

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

Application form constructor.

Application form constructor.

Parameters

$parent
string
$name
public Nette\Application\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\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
public boolean
# isAnchored( )

Tells if the form is anchored.

Tells if the form is anchored.

Returns

boolean
protected array
# receiveHttpData( )

Internal: receives submitted HTTP data.

Internal: receives submitted HTTP data.

Returns

array
public
# signalReceived( string $signal )

This method is called by presenter.

This method is called by presenter.

Parameters

$signal
string

Implementation of

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