Applying multiple filters on a single route definition |
(07-27-2020, 07:31 PM)mlurie Wrote: I found the answer in the documentation. Multiple filters can be assigned to a single alias: https://www.codeigniter.com/user_guide/i...l?#aliases. Then that alias can be applied to a route which accomplishes the same thing as applying multiple filters to a single route. I would suggest that this be added to the URI Routing section of the manual in addition to the Filters section where the documentation is currently located. While that is true and working - its not the best solution when you want to pass some parameters to the filters. Also if you have more than a couple of filters you should write a different alias for each combination which is not convenient |
Messages In This Thread |
Applying multiple filters on a single route definition - by korgoth - 07-06-2020, 01:05 PM
RE: Applying multiple filters on a single route definition - by mlurie - 07-27-2020, 02:37 PM
RE: Applying multiple filters on a single route definition - by mlurie - 07-27-2020, 07:31 PM
RE: Applying multiple filters on a single route definition - by korgoth - 07-27-2020, 11:35 PM
RE: Applying multiple filters on a single route definition - by mlurie - 07-28-2020, 07:00 PM
RE: Applying multiple filters on a single route definition - by arma7x - 01-08-2022, 08:30 AM
RE: Applying multiple filters on a single route definition - by kenjis - 01-08-2022, 07:50 PM
RE: Applying multiple filters on a single route definition - by cahyadiayya - 02-25-2022, 09:17 PM
|