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.

Class constructor. (Previous) Adds a new page to the form (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.