[dev] Horde_Form_Renderer

Chuck Hagenbuch chuck at horde.org
Fri Aug 15 08:47:12 PDT 2003


Quoting Marko Djukic <marko at oblo.com>:

> in the Horde_Form_Renderer class, would it simplify things if the form object
> to which the renderer refers to is passed when the renderer class is set up?
> for example:
> $renderer = &new Horde_Form_Renderer($form);
>
> which would then be available as a var within the class as opposed to being
> passed along in many of the class functions?

It seems like it might. What about using the same renderer for multiple forms,
though? And what about custom renderers?

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
They're just looking at a wall of meat.


More information about the dev mailing list