Description
Returns an array of methods that are contained in the controller. With the exception of the methods defined by the base Controller class, the methods correspond to the actions in that controller.
Example(s)
// example controller class myapp_controller extends Controller { function index() { global $actions; $actions = $this->controllerMethods(); } // actions in myapp } // example view code for /app/views/myapp/index.view.php for ($i = 0; $i < count($actions); $i++) { if (($actions[$i] != 'controllerMethods') && ($actions[$i] != 'hasMethod')) { echo "<p>{actions[$i]}</p>\n"; } }
