Documentation

CRM_Core_QuickForm_GroupMultiSelect extends CRM_Core_QuickForm_NestedAdvMultiSelect
in package

Class CRM_Core_QuickForm_NestedAdvMultiSelect

Tags
copyright

U.S. PIRG Education Fund 2007

Table of Contents

Methods

load()  : PEAR_Error|null
Loads options from different types of data sources.
toHtml()  : string
Returns the HTML generated for the advanced multiple select component.

Methods

load()

Loads options from different types of data sources.

public load(mixed &$options[, mixed $param1 = NULL ][, mixed $param2 = NULL ][, mixed $param3 = NULL ][, mixed $param4 = NULL ]) : PEAR_Error|null

This method overloaded parent method of select element, to allow loading options with fancy attributes.

Parameters
$options : mixed

Options source currently supports assoc array or DB_result

$param1 : mixed = NULL

(optional) See function detail.

$param2 : mixed = NULL

(optional) See function detail.

$param3 : mixed = NULL

(optional) See function detail.

$param4 : mixed = NULL

(optional) See function detail.

Tags
since

version 1.5.0 (2009-02-15)

throws
PEAR_Error
see
loadArray()
Return values
PEAR_Error|null

on error and TRUE on success

toHtml()

Returns the HTML generated for the advanced multiple select component.

public toHtml() : string
Tags
since

version 0.4.0 (2005-06-25)

Return values
string

        
On this page

Search results