Controller::addAction()

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

概要

require_once 'HTML/QuickForm/Controller.php';

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

説明

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

パラメータ

string $actionName

name of the action

object HTML_QuickForm_Action &$action

the handler for the action

例外・エラー

throws no exceptions thrown

注意

この関数は、スタティックにコールする ことはできません。