This controller provides a controller that your controllers can extend from. This allows any tasks that need to be performed sitewide to be done in one place.
Since it extends from MX_Controller, any controller in the system can be used in the HMVC style, using modules::run(). See the docs at: https://bitbucket.org
MX_Controller
MY_Controller
| Base_Controller | This controller provides a controller that your controllers can extend from. |
| Variables | |
| $previous_page | Stores the previously viewed page’s complete URL. |
| $requested_page | Stores the page requested. |
| Front_Controller | This class provides a common place to handle any tasks that need to be done for all public-facing controllers. |
| Authenticated_Controller | Provides a base class for all controllers that must check user login status. |
| Admin_Controller | This class provides a base class for all admin-facing controllers. |
Stores the previously viewed page’s complete URL.
protected $previous_page
Stores the page requested.
protected $requested_page