Google
  Web www.spinics.net

Re: [PEAR] QuickForm with Template_IT?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Fri, Jan 22, 2010 at 8:30 AM, Charles Ross <chivalry@xxxxxxx> 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);

[Search]     [PHP Home]     [Free Matchmaking Site]     [Apache Users]     [PHP on Windows]     [Programming PHP]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Postgresql]     [Postgresql PHP]     [PHP Books]     [PHP for Windows]     [Find Someone]     [PHP Databases]     [PHP SOAP]     [PHP Books]

  Powered by Linux