Faster Way to Load Models and Helpers

#3
[eluser]Sbioko[/eluser]
Code:
class Page extends Controller {

    function Page() {
        $this->load->model(‘pagemodel’);
        $this->pagemodel->page();
    }

    function index(){
    }

    function another(){
    }
}


Messages In This Thread
Faster Way to Load Models and Helpers - by El Forum - 01-09-2010, 10:26 PM
Faster Way to Load Models and Helpers - by El Forum - 01-09-2010, 10:38 PM
Faster Way to Load Models and Helpers - by El Forum - 01-10-2010, 06:29 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.