I am using the latest version of Yii and trying to basically collate the URL parameters.
For instance if my URL was as follows:
site.com/events/199/111
What is the function to grab the first parameter e.g '199' and similarly again to say grab the 2nd parameter e.g '111'.
I remember CodeIgniter has $this->url->segment(1), I basically need the same functionality to Yii :)
'events/<param1:\d+>/<param2:\d+>' => 'events/show' call EventController->actionShow($param1,$param2) {}