The ActionHandler interface defines the required methods for an ActionHandler class.
The ActionHandler takes care of: authentication, and then executing PHP scripts in a user-defined place with user-defined options.
An action can be a: flat PHP file, an entire PHP class, or a specific method within a class. Actions are organized into modules, which can be: a folder or a class. A specific action is referenced by "module.action" certain module/action options are not compatible (such as modules=folders and actions=method-within-class).
An action is passed the following items:
<li>The Harmoni object.
Located in /harmoni/core/actionHandler/ActionHandler.class.php (line 78)
SObject | --EventTrigger | --ActionHandler
Inherited from EventTrigger
EventTrigger::$_eventListeners
The constructor.
Adds a location for actions to the list of locations.
The execute function takes a module and action. The method executes the given action, taking the result and either executing another action (based on the user specified options) or returning the result from the action.
If called within an executing action, will execute $module.$action after calling action has stopped.
Returns an array of actions that have been executed this session.
Sets the default way for how we locate actions. Action Types for particular modules can be set with setActionsTypeForModulesLocation() method.
Adds to the action-processing thread. If $action is executed and it returns a failure or success code, $actionOnFail will be executed afterwards if $action fails, otherwise, $actionOnSuccess will be executed (or nothing will be if this option isn't included).
Sets the location of the modules to use.
For backward compatibility with deprecated functions -- will add an action source based on settings given with old functions.
Executes the given action
Executes a module.action pair.
Inherited From EventTrigger
EventTrigger::addEventListener()
EventTrigger::triggerEvent()
Inherited From SObject
SObject::asA()
SObject::asString()
SObject::copy()
SObject::copySameFrom()
SObject::copyTwoLevel()
SObject::deepCopy()
SObject::isEqual()
SObject::isEqualTo()
SObject::isNotEqualTo()
SObject::isNotReferenceTo()
SObject::isReferenceTo()
SObject::newFrom()
SObject::postCopy()
SObject::printableString()
SObject::shallowCopy()
SObject::_deepCopyArray()
Documentation generated on Wed, 19 Sep 2007 10:21:18 -0400 by phpDocumentor 1.3.0RC3