From: Charles Ross on 21 Jan 2010 17:00 OK, I know that QuickForm has renderers that work with the Template_IT template system, and I've seen it work with the examples available by downloading the HTML_QuickForm package. But I'm having a great deal of difficulty understanding how this works and even more difficulty finding clear end-user documentation on the feature. Google has proven unhelpful, so does anyone know of a tutorial that I can go through, via the web or even in a book, that will take me through the concepts of using HTML_QuickForm with HTML_Template_IT? Thanks, Chuck
From: "Daniel O'Connor" on 24 Jan 2010 23:04 On Fri, Jan 22, 2010 at 8:30 AM, Charles Ross <chivalry(a)mac.com> wrote: > OK, I know that QuickForm has renderers that work with the Template_IT > template system, and I've seen it work with the examples available by > downloading the HTML_QuickForm package. But I'm having a great deal of > difficulty understanding how this works and even more difficulty finding > clear end-user documentation on the feature. Google has proven unhelpful, so > does anyone know of a tutorial that I can go through, via the web or even in > a book, that will take me through the concepts of using HTML_QuickForm with > HTML_Template_IT? > > http://pear.php.net/manual/en/package.html.html-quickform.intro-renderers.php and http://pear.php.net/manual/en/package.html.html-quickform.output.template-renderers.php is probably as good as it gets. $form = new HTML_QuickForm(); /// .... $renderer = new HTML_QuickForm_Renderer_IT(new HTML_Template_IT()); // Or whatever $form->accept($renderer);
|
Pages: 1 Prev: XML_Parser "Invalid document" error Next: [ANNOUNCEMENT] Net_SMTP-1.4.1 (stable) Released. |