Controller::addAction()

Controller::addAction() – 指定したアクションのハンドラを登録する

Synopsis

require_once 'HTML/QuickForm/Controller.php';

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

Description

何らかのアクションを処理する必要のあるページ自身が ハンドラを保持していない場合に、このハンドラが使用されます。

Parameter

string $actionName

アクションの名前。

object HTML_QuickForm_Action &$action

アクションに対するハンドラ。

Throws

例外はスローされません。

Note

This function can not be called statically.