$_id
$_id :
The Horde_Form_Action class provides an API for adding actions to Horde_Form variables.
factory(mixed $action, array $params = null) : \Horde_Form_Action
Attempts to return a concrete Horde_Form_Action instance based on $form.
mixed | $action | The type of concrete Horde_Form_Action subclass to return. If $action is an array, then we will look in $action[0]/lib/Form/Action/ for the subclass implementation named $action[1].php. |
array | $params | A hash containing any additional configuration a form might need. |
The concrete Horde_Form_Action reference, or false on an error.
singleton(mixed $action, array $params = null) : \Horde_Form_Action
Attempts to return a reference to a concrete Horde_Form_Action instance based on $action. It will only create a new instance if no Horde_Form_Action instance with the same parameters currently exists.
This should be used if multiple types of form renderers (and, thus, multiple Horde_Form_Action instances) are required.
This method must be invoked as: $var = &Horde_Form_Action::singleton()
mixed | $action | The type of concrete Horde_Form_Action subclass to return. The code is dynamically included. If $action is an array, then we will look in $action[0]/lib/Form/Action/ for the subclass implementation named $action[1].php. |
array | $params | A hash containing any additional configuration a form might need. |
The concrete Horde_Form_Action reference, or false on an error.