Get variables created in MY_Controller? |
[eluser]n0xie[/eluser]
Make them class properties: Code: class MY_Controller extends Controller{ Then in your extended class: Code: function index() Although in this case where you have to deal with 'global config' settings, you might be better off putting it in the config array or load it from the database. |
Messages In This Thread |
Get variables created in MY_Controller? - by El Forum - 03-09-2010, 10:59 AM
Get variables created in MY_Controller? - by El Forum - 03-09-2010, 11:52 AM
Get variables created in MY_Controller? - by El Forum - 03-09-2010, 01:29 PM
Get variables created in MY_Controller? - by El Forum - 03-10-2010, 03:20 PM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 03:22 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 04:34 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 04:38 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 06:24 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 06:39 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 07:24 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 07:52 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 08:36 AM
Get variables created in MY_Controller? - by El Forum - 03-11-2010, 08:44 AM
|