PEAR logo

HTML_QuickForm_advmultiselect : The Definitive Guide



Chapter 8. API - Application Programming Interface

Table of Contents

Creating the form element
Outputting the form element
Setting buttons values
Basic renderer
Template-based renderer

Creating the form element

constructor HTML_QuickForm_advmultiselect::HTML_QuickForm_advmultiselect - Class constructor
HTML_QuickForm_advmultiselect::setJsElement - Sets JavaScript function name parts. Maybe usefull to avoid conflict names

With the class constructor, you have ability to set the auto-arrange feature. This feature is an option to sort alphabetically (or reverse) when elements are moved between lists. Default behaviour is no sort (add to the bottom).

[Warning] Warning
This feature is only available since version 0.5.0

The setJsElement() method allow to avoid conflict name or just follow a project coding writes, by renaming all javascript functions used.

HTML_QuickForm_advmultiselect : The Definitive Guide v 1.4.0 : 9 Juin 2007