Controller::getActionName()

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.

返り値

returns first element is page name, second is action name

例外・エラー

throws no exceptions thrown

注意

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