php Programming Glossary: my_controller.php
codeigniter check for user session in every controller http://stackoverflow.com/questions/3678798/codeigniter-check-for-user-session-in-every-controller this. To achieve this in CodeIgniter create a file called MY_Controller.php in the libraries folder of your application. class MY_Controller..
What is the best practice for restricting specific pages to logged in users only in Codeigniter? http://stackoverflow.com/questions/3819275/what-is-the-best-practice-for-restricting-specific-pages-to-logged-in-users-only
Codeigniter extending extended MY_Controller http://stackoverflow.com/questions/4609127/codeigniter-extending-extended-my-controller get still some errors. My 3 classes application libraries MY_Controller.php class MY_Controller extends Controller public function __construct.. Controller in your MY_Controller application libraries MY_Controller.php class MY_Controller extends Controller public function __construct.. want to create an Admin_Controller application libraries MY_Controller.php class MY_Controller extends Controller public function __construct..
Code Igniter 2: How to extend CI_Controller multiple times? http://stackoverflow.com/questions/7627587/code-igniter-2-how-to-extend-ci-controller-multiple-times extended the CI_Controller class by creating a MY_Controller.php which I have placed in the application core directory. core.. have both the admin and normal extended controller in the MY_Controller.php file works fine. The main reason for the MY_Controller or other..
|