previousHTML_QuickForm::isTypeRegistered() (Previous) (Next) HTML_QuickForm::removeElement()next

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm::registerElementType()

HTML_QuickForm::registerElementType() – Enregistre un nouveau type d'élément

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::registerElementType ( string $typeName , string $include , string $className )

Description

Enregistre un nouveau type d'élément. Après cela, les éléments de ce type peuvent être créés va createElement(), et ajoutés au formulaire via addElement().

Parameter

string $typeName

Nom du type de l'élément

string $include

Chemin d'inclusion du type de l'élément

string $className

Nom de la classe de l'élément

Throws

No exceptions thrown.

Note

Disponible depuis la version 1.0.

This function can be called statically.

previousHTML_QuickForm::isTypeRegistered() (Previous) (Next) HTML_QuickForm::removeElement()next

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.