Welcome Guest, Not a member yet? Register   Sign In
Getting $year & $month from CI Calendar
#1

[eluser]SidharthaXx[/eluser]
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




Theme © iAndrew 2016 - Forum software by © MyBB