Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22511 программистов и 1575 роботов. Сейчас ищут 1164 программиста ...

HTML_QuickForm_select::load()

Вернуться к: Standard HTML elements

HTML_QuickForm_select::load()

HTML_QuickForm_select::load() – Loads options from different types of data sources

Synopsis

require_once 'HTML/QuickForm/select.php';

PEAR_Error HTML_QuickForm_select::load ( mixed &$options , mixed $param1 = null , mixed $param2 = null , mixed $param3 = null , mixed $param4 = null )

This method is a simulated overloaded method. The arguments, other than the first are optional and only mean something depending on the type of the first argument.

If the first argument is an array then all arguments are passed in order to loadArray(). If the first argument is a DB_Result then all arguments are passed in order to loadDbResult(). If the first argument is a string or a DB connection then all arguments are passed in order to loadQuery().

Parameter

mixed &$options

Options source currently supports assoc array or DB_result

mixed $param1

(optional) See function detail

mixed $param2

(optional) See function detail

mixed $param3

(optional) See function detail

mixed $param4

(optional) See function detail

Return value

returns TRUE on success

Throws

throws PEAR_Error

Note

since 1.1

This function can not be called statically.



Вернуться к: Standard HTML elements

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware