¡@

Home 

php Programming Glossary: my_controller

Codeigniter: Best way to structure partial views

http://stackoverflow.com/questions/3675135/codeigniter-best-way-to-structure-partial-views

approach but I create a base controller like this class MY_Controller extends CI_Controller public title '' The template will use.. actual controller would look like this class Home extends MY_Controller Override the title public title 'Home' function __construct..

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.. in the libraries folder of your application. class MY_Controller extends Controller public function __construct parent __construct.. inherit from this base controller. class X extends MY_Controller public function __construct parent __construct public function..

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

for a very indepth write up. but in essence php class MY_Controller extends Controller function __construct parent Controller if.. want to restrict access simply class Secret_page extends MY_Controller your logged in specific controller code and the extended controller.. . EXT As you are using CI 2.0 you will need to place the MY_Controllers inside Application CORE rather than Libraries. My Application..

Codeigniter extending extended MY_Controller

http://stackoverflow.com/questions/4609127/codeigniter-extending-extended-my-controller

extending extended MY_Controller I have strictly followed the how to article by Phil Sturgeon.. get still some errors. My 3 classes application libraries MY_Controller.php class MY_Controller extends Controller public function __construct.. My 3 classes application libraries MY_Controller.php class MY_Controller extends Controller public function __construct parent __construct..

Using Ion Auth as a separate module in the HMVC structure

http://stackoverflow.com/questions/6352980/using-ion-auth-as-a-separate-module-in-the-hmvc-structure

MY_Router to core MX to third party folder Do not copy MY_Controller this is for Modular Separation and not Extensions Get Ion_auth..

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.. core My_Controller.php looks something like this class MY_Controller extends CI_Controller function __construct parent __construct.. they look something like this class Home extends MY_Controller function __construct parent __construct function index this..