• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What's the right place to put this? Writing a CMS in CI.

#4
[eluser]simolokid[/eluser]
Yeah sorry, (Love your avatar btw =p ), I'll keep that in mind next time.

And that sounds pretty good, but how can MY_Controller access the view data? Right now, as im implementing stuff, the MY_Controller has a $data attribute that holds the page-meta data / menus and so forth, and per-page im calling
Code:
$this->data = ..
to add stuff, and then render it calling that same
Code:
$this->data
array.

Is this the best way? ;O


Messages In This Thread
What's the right place to put this? Writing a CMS in CI. - by El Forum - 05-27-2012, 01:21 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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