Manuel Pear

HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate()

HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate() -- Set the filename of the template to render html elements.

Synopsis

  1. <?php
  2. require_once 'HTML/QuickForm/Renderer/ObjectFlexy.php
  3. ?> 

void HTML_QuickForm_Renderer_ObjectFlexy::setHtmlTemplate (string $template)

Description

In your template, {html} is replaced by the unmodified html. If the element is required, {required} will be true. Eg.

{if:error}
 <font color="red" size="1">{error:h}</font><br />
{end:}
{html:h}

Paramètres

chaîne de caractères $template

Filename of template

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique