| [ Index ] |
|
Code source de phpMyVisites 2.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 565 lignes (19 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
HTML_QuickForm_hierselect:: (21 méthodes):
HTML_QuickForm_hierselect()
setOptions()
setMainOptions()
setSecOptions()
_setOptions()
setValue()
_createElements()
toHtml()
_hs_findOptions()
_hs_findSelect()
_hs_replaceOptions()
_hs_setValue()
_hs_swapOptions()
_hs_onReset()
_hs_setupOnReset()
_hs_onReload()
accept()
onQuickFormEvent()
_convertArrayToJavascript()
_convertScalarToJavascript()
_escapeString()
Classe: HTML_QuickForm_hierselect - X-Ref
Class to dynamically create two or more HTML Select elements| HTML_QuickForm_hierselect($elementName=null, $elementLabel=null, $attributes=null, $separator=null) X-Ref |
| Class constructor param: string $elementName (optional)Input field name attribute param: string $elementLabel (optional)Input field label in form param: mixed $attributes (optional)Either a typical HTML attribute string param: mixed $separator (optional)Use a string for one separator, return: void |
| setOptions($options) X-Ref |
| Initialize the array structure containing the options for each select element. Call the functions that actually do the magic. param: array $options Array of options defining each element return: void |
| setMainOptions($array) X-Ref |
| Sets the options for the first select element. Deprecated. setOptions() should be used. param: array $array Options for the first select element return: void |
| setSecOptions($array) X-Ref |
| Sets the options for the second select element. Deprecated. setOptions() should be used. The main _options array is initialized and the _setOptions function is called. param: array $array Options for the second select element return: void |
| _setOptions() X-Ref |
| Sets the options for each select element return: void |
| setValue($value) X-Ref |
| Sets values for group's elements param: array $value An array of 2 or more values, for the first, return: void |
| _createElements() X-Ref |
| Creates all the elements for the group return: void |
| toHtml() X-Ref |
| Pas de description |
| _hs_findOptions(ary, keys) X-Ref |
| Pas de description |
| _hs_findSelect(form, groupName, selectIndex) X-Ref |
| Pas de description |
| _hs_replaceOptions(ctl, optionList) X-Ref |
| Pas de description |
| _hs_setValue(ctl, value) X-Ref |
| Pas de description |
| _hs_swapOptions(form, groupName, selectIndex) X-Ref |
| Pas de description |
| _hs_onReset(form, groupNames) X-Ref |
| Pas de description |
| _hs_setupOnReset(form, groupNames) X-Ref |
| Pas de description |
| _hs_onReload() X-Ref |
| Pas de description |
| accept(&$renderer, $required = false, $error = null) X-Ref |
| Pas de description |
| onQuickFormEvent($event, $arg, &$caller) X-Ref |
| Pas de description |
| _convertArrayToJavascript($array, $assoc = true) X-Ref |
| Converts PHP array to its Javascript analog param: array PHP array to convert param: bool Generate Javascript object literal (default, works like PHP's associative array) or array literal return: string Javascript representation of the value |
| _convertScalarToJavascript($val) X-Ref |
| Converts PHP's scalar value to its Javascript analog param: mixed PHP value to convert return: string Javascript representation of the value |
| _escapeString($str) X-Ref |
| Quotes the string so that it can be used in Javascript string constants param: string return: string |
| Généré le : Mon Nov 26 14:10:01 2007 | par Balluche grâce à PHPXref 0.7 |
|