Parameters
- a (optional) – name of the action to set to be rendered (used only by core)
Description
This function is called by index.php to set the initial action to be rendered
NOTE: this function was moved to the /core/BaseMapping.class.php file. To use the action function, it can be called using PathMap::action(). Please update your code to use the new version. The /app/PathMap.class.php extends the /core/BaseMapping.class.php. Only the /app/PathMap.class.php file should be edited.
Example(s)
// deprecated example echo "The action called was " . Fabriq::action(); // new version echo "The action called was " . PathMap::action();
