• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting $year & $month from CI Calendar

Hi All,

I'm new to CI... just playing around with the calendar library.

It seems that the calendar passes it's year & month to the index() function of the controller (I assume via it's URL changing). However, is there any other way to access the year & month outside of the index() function.

I'm a little confused. Could someone clear this up for me.

So far I am thinking the only way of getting this info while in the view or model is to actually parse the URL... is that correct?

Many Thanks

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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