HTML_QuickForm_advmultiselect::getElementJs

HTML_QuickForm_advmultiselect::getElementJs() – Returns the javascript code generated to handle this element

Synopsis

require_once 'HTML/QuickForm/advmultiselect.php';

string HTML_QuickForm_advmultiselect::getElementJs ( boolean $raw = TRUE , boolean $min = FALSE )

Description

The basic (and default) settings can be applied with just the placeholder {javascript} into your template element. If you does not have existing script tags in your html page, you must call the method with FALSE argument. Default behaviour returns only the raw js data without script tags. Useful when using with template engine.

Parameter

boolean $raw

(optional) html output with script tags or just raw data

boolean $min

(optional) uses javascript compressed version

Throws

throws no exceptions thrown

Note

since version 0.4.0 (2005-06-25)

$min parameter is available since version 1.5.0

This function can not be called statically.

Gets default element stylesheet for a single multi-select shape render (Previous) Sets element template (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.