Class AjaxLink
A link which will not direct to a page but submit an ajax request. The callback method will be invoked when this happens to allow a response to be created
- picon\Component implements picon\InjectOnWakeup, picon\Identifiable, picon\Detachable
-
picon\MarkupContainer
-
picon\AbstractLink implements picon\LinkListener
-
picon\AjaxLink implements picon\CallDecoratorWrapper
Namespace: picon
Package: web\ajax\markup\html
Author: Martin Cassidy
Located at web/ajax/markup/html/AjaxLink.php
Package: web\ajax\markup\html
Author: Martin Cassidy
Located at web/ajax/markup/html/AjaxLink.php
public
|
#
__construct( string $id, $callback, $callDecorator = 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. |
protected
|
|
public
|
onEvent()
|
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
|