[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
Joomla! Content Management System
Copyright: | (C) 2009 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 235 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
ListField:: (4 methods):
getInput()
getOptions()
addOption()
__get()
getInput() X-Ref |
Method to get the field input markup for a generic list. Use the multiple attribute to enable multiselect. return: string The field input markup. |
getOptions() X-Ref |
Method to get the field options. return: array The field option objects. |
addOption($text, $attributes = array() X-Ref |
Method to add an option to the list field. param: string $text Text/Language variable of the option. param: array $attributes Array of attributes ('name' => 'value' format) return: ListField For chaining. |
__get($name) X-Ref |
Method to get certain otherwise inaccessible properties from the form field object. param: string $name The property name for which to get the value. return: mixed The property value or null. |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |