Controller::getActionName() – Finds the names of the current page and the current action.


require_once 'HTML/QuickForm/Controller.php';

array HTML_QuickForm_Controller::getActionName ( )


This method searches the $_REQUEST array for an element with a special name and splits the name into page name and action. If such an element is not found, the first page will be default and 'display' the default action.

Return value

returns first element is page name, second is action name


throws no exceptions thrown


This function can not be called statically.

Controller::findInvalid() (Previous) Controller::getNextName() (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.