Extended Parser functionality?

#1
[eluser]fireproofsocks[/eluser]
I like having a simple view, devoid of raw PHP, so I've been using the parser class. I'm new to CI, so I don't know if there are extensions to the parser's functionality? E.g. is there a way to track some basic variables when you've got a loop defined by {items} ... {/items} -- e.g. it'd be great to have a built-in variable that counted which item of the array you're on, e.g. {n}.

It'd also be nice to tap into view-level filters, e.g. force a particular value to go through a function in the view layer. All of this is possible in raw PHP, of course, but I'd like to stay away from that if possible.

Thanks.


Messages In This Thread
Extended Parser functionality? - by El Forum - 09-29-2009, 03:00 PM
Extended Parser functionality? - by El Forum - 09-29-2009, 04:01 PM
Extended Parser functionality? - by El Forum - 09-29-2009, 05:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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