Controller::addAction()

Controller::addAction()

Controller::addAction() -- Registers a handler for a specific action.

Synopsis

require_once 'HTML/QuickForm/Controller.php';

void HTML_QuickForm_Controller::addAction (string $actionName, object HTML_QuickForm_Action &$action)

Description

This handler will be used if the Page that has to handle some action does not have a handler itself.

Parameter

string $actionName

name of the action

object HTML_QuickForm_Action &$action

the handler for the action

Throws

throws no exceptions thrown

Note

This function can not be called statically.