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

HTML_QuickForm_element::exportValue()

Вернуться к: Base classes

HTML_QuickForm_element::exportValue()

HTML_QuickForm_element::exportValue() – Returns a 'safe' element's value (package developer related)

Synopsis

require_once 'HTML/QuickForm/element.php';

mixed HTML_QuickForm_element::exportValue ( array &$submitValues , bool $assoc = false )

This method is not intended to be called directly. It is called by HTML_QuickForm::exportValue() and HTML_QuickForm::exportValues() methods.

The method first tries to find a value for itself in a passed array, if such a value is not found it takes the display value via getValue(). It then filters out the values that cannot possibly be submitted by this element and returns the result.

Parameter

array &$submitValues

array of submitted values to search

boolean $assoc

whether to return the value as associative array

Throws

throws no exceptions thrown

Note

This function can not be called statically.



Вернуться к: Base classes

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