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)

Beschreibung

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.