Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100 off


Controller::getActionName()

Controller::getActionName()

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

Description

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

throws no exceptions thrown

Note

This function can not be called statically.

© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.