How to have some data always available at views |
[eluser]cahva[/eluser]
$this->load belongs to loader class where you can find it in the user guide. You can use this in the constructor of your controller which would make those variables global in every function of that controller. Or define it in controller's function and it would be available only in that function. |
Messages In This Thread |
How to have some data always available at views - by El Forum - 02-11-2010, 12:36 PM
How to have some data always available at views - by El Forum - 02-11-2010, 12:51 PM
How to have some data always available at views - by El Forum - 02-11-2010, 01:05 PM
How to have some data always available at views - by El Forum - 02-11-2010, 01:17 PM
How to have some data always available at views - by El Forum - 02-11-2010, 01:19 PM
How to have some data always available at views - by El Forum - 02-11-2010, 02:09 PM
How to have some data always available at views - by El Forum - 02-11-2010, 02:33 PM
How to have some data always available at views - by El Forum - 02-11-2010, 02:50 PM
How to have some data always available at views - by El Forum - 02-11-2010, 02:54 PM
How to have some data always available at views - by El Forum - 02-11-2010, 03:13 PM
|