[Solar-talk] actionList helper moved to list iterator

Rodrigo Moraes rodrigo.moraes at gmail.com
Sat Jul 7 03:19:25 CDT 2007


2007/7/7, Jeff Surgeson:
> 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?

General list stuff. I have two formats ('href' => 'text' and 'href' =>
$href, 'text' => $text, 'attribs' => $attribs) and wanted to build
both keeping the logic to add css rules in one helper. I thought that
a list iterator could be a good idea.

Perhaps a more general iterator could be useful for other helpers.
Let's see when we need it. :)

-- rodrigo


More information about the Solar-talk mailing list