System:Router:getSelectedModule

From Aspen Documentation

Returns the currently selected module.

Since 1.0

Arguments

string getSelectedModule ()

Returns

Returns a string.

Examples

As an example, this function:

$this->APP->router->getSelectedModule();

Would return the current module the user is at:

"Index_Admin"