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

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm::registerElementType()

HTML_QuickForm::registerElementType() – Registers a new element type

Synopsis

require_once 'HTML/QuickForm.php';

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

Description

Registers a new element type. After that, elements of this type may be created via createElement() and added to form via addElement().

Parameter

string $typeName

Name of element type

string $include

Include path for element type

string $className

Element class name

Throws

throws no exceptions thrown

Note

since 1.0

This function can be called statically.

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

Download Documentation Last updated: Tue, 02 Jun 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.