[Solar-talk] actionList helper moved to list iterator
Jeff Surgeson
solar at 3hex.com
Sat Jul 7 01:08:37 CDT 2007
> So I created a "list
> iterator" class to serve as base to build any list, including an
> ActionList:
> http://dev.tipos.org/browser/trunk/Tipos/View/Helper/ListBase.php
> For the named action list I needed, which has special CSS configs for
> first/last/selected items, I extended it:
> http://dev.tipos.org/browser/trunk/Tipos/View/Helper/ListNav.php
> Finally, I wrapped the old action list to use this last one and build
> a href => text list:
> http://dev.tipos.org/browser/trunk/Tipos/View/Helper/ActionList.php
> (this one is still a bit messy, but I'll come back and clean up it a
> bit :)
>
> Lists are common, lists are nice. I hope these helpers can be useful.
Nice one!
How do you see this fitting into what Paul is doing with $layout_local
$layout_nav and Solar layout/css stuff, or do you see this always just being
a specialized helper for all other possible list options and general list
stuff that you might need?
--
...........::::::...........
Jeff Surgeson / South Africa
More information about the Solar-talk
mailing list