• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to call CI specific functions on view files?

I have a common header. I want to show some data to the view file (ie header_view.php). I can always pass data to it from controllers. but in that way, i am repeating myself a lot. Is there any way to call CI specific functions on view files?

Are you inferring that you have common data being generated that gets displayed in the header file?

If so, you might want to have a look at this thread:


thnx missionsix, that is really helpful. I should have searched the forum with "dyanamic" or things like that.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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