[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
Copyright: | (C) 2009 Open Source Matters, Inc. |
License: | GNU General Public License version 2 or later; see LICENSE.txt |
File Size: | 146 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
LanguageField:: (4 methods):
setup()
getOptions()
_sortLanguages()
getNativeLanguage()
Class: LanguageField - X-Ref
Installation Language field.setup(\SimpleXMLElement $element, $value, $group = null) X-Ref |
Method to attach a Form object to the field. param: \SimpleXMLElement $element The SimpleXMLElement object representing the `<field>` tag for the form field object. param: mixed $value The form field value to validate. param: string $group The field name group control value. This acts as as an array container for the field. return: boolean True on success. |
getOptions() X-Ref |
Method to get the field options. return: array The field option objects. |
_sortLanguages($a, $b) X-Ref |
Method to sort languages by name. param: array $a The first value to determine sort param: array $b The second value to determine sort return: integer |
getNativeLanguage() X-Ref |
Determinate the native language to select return: string The native language to use |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |