[eluser]natefons[/eluser]
[quote author="Mike DeFelice" date="1293773369"]Yup it sure is possible, you just need to pass some parameters to the function.
For instance
function blog($title,$tags = '', $sort = '') {
show view, do stuff
}
then you can check if the fields are not false and go from there
$tags = $this->uri->segment(#) (returns false if it doesnt exist)
$sort = $this->uri->segment(#)
if($tags !== FALSE && $tags == 'tags') {
do something
}
hope this helps![/quote]
why do you do this?
to my understanding, since the function has arguments, it will be auto passed from the uri:
example.com/blog/title/tags/sort
will auto pass those arguments in already.... so
example.com/blog/test/tagalo/sortup
will make:
title:test
tag:taglo
sort
ortup
i do not believe you need to recheck using:
$tags = $this->uri->segment(#);