Class Form
A form which will contain form component. This will process and validate the post data when the callback is invoked. If a form is submitted with a button, the appropriate button callback will also be invoked
- picon\Component implements picon\InjectOnWakeup, picon\Identifiable, picon\Detachable
-
picon\MarkupContainer
-
picon\Form implements picon\FormSubmitListener
Namespace: picon
Package: web\markup\html\form
Author: Martin Cassidy
Located at web/markup/html/form/Form.php
Package: web\markup\html\form
Author: Martin Cassidy
Located at web/markup/html/form/Form.php
public
|
#
__construct( string $id, $model = null, $onSubmit = null, $onError = null )
Create a new component. Any overrides of the constructor must call the super. |
protected
|
#
onComponentTag(
This is called imediatly before the tag is written to the output This method allows direct manipulation of the object representing the actual markup element that is to be rendered. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
PATH_SEPERATOR,
TYPE_ARRAY,
TYPE_BOOL,
TYPE_DOUBLE,
TYPE_FLOAT,
TYPE_INT,
TYPE_STRING,
VISITOR_CONTINUE_TRAVERSAL,
VISITOR_CONTINUE_TRAVERSAL_NO_DEEPER,
VISITOR_STOP_TRAVERSAL
|
$added
|