
Public Member Functions | |
| __construct ($target, $actionId, $vars=array(), $action="") | |
| Creates a new SWAT action. | |
Static Public Member Functions | |
| static | createFromXML ($attrs, $children) |
See the SWAT documentation for more on SWAT events.
Definition at line 9 of file TKSWATAction.php5.
| TKSWATAction::__construct | ( | $ | target, | |
| $ | actionId, | |||
| $ | vars = array(), |
|||
| $ | action = "" | |||
| ) |
Creates a new SWAT action.
| $target | [mixed]: SWAT event target | |
| $actionId | [int]: which SWAT event to invoke (usually a constant in LocalEventHandler) | |
| $vars | [mixed]: array of variable => value pairs for additional variables to send to event handler; or a TKForm which contains additional variables | |
| $action | [string]: URL to send request to; defaults to $_SERVER['REQUEST_URI'] |
Definition at line 18 of file TKSWATAction.php5.
| static TKSWATAction::createFromXML | ( | $ | attrs, | |
| $ | children | |||
| ) | [static] |
For internal use only.
Reimplemented from TKPostAction.
Definition at line 45 of file TKSWATAction.php5.
References Toolkit::getComponent().
1.5.6