POC Controller Action
This is a super class that extends Zend_Controller_Action and all local controllers extend.
This handles the session, authentication, basic templates, global modules, and navigational aspects of every action.
see also: POCComponents
titleThis
Status: working
- set the page title!
Only certain actions should be using this (global nav, for example should not). The last action to call it will over write the title.
buildPermssions
Status: ToDo - Critical
- Get a list of modules/actions
- Get a list of permission groups
- Get a list of what the current user is allowed to do
checkPermission
Status: ToDo - Critical
- Can user do Action on Controller?
- $this->checkPermission($module, $action, $redirectOnFailure = false)
- $redirectOnFailure = false by default, if permissions fail, user will be redirected to a login screen when true.