Moodle  2.2.1
http://www.collinsharper.com
admin_settings_country_select Class Reference
Inheritance diagram for admin_settings_country_select:
Collaboration diagram for admin_settings_country_select:

Public Member Functions

 __construct ($name, $visiblename, $description, $defaultsetting, $includeall=false)
 load_choices ()

Protected Attributes

 $includeall

Detailed Description

Selection of one of the recognised countries using the list returned by get_list_of_countries().

http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Definition at line 3595 of file adminlib.php.


Constructor & Destructor Documentation

__construct ( name,
visiblename,
description,
defaultsetting,
choices = false 
)

Constructor

Parameters:
string$nameunique ascii name, either 'mysetting' for settings that in config, or 'myplugin/mysetting' for ones in config_plugins.
string$visiblenamelocalised
string$descriptionlong localised info
string | int$defaultsetting
array$choicesarray of $value=>$label for each selection

Reimplemented from admin_setting_configselect.

Definition at line 3597 of file adminlib.php.


Member Function Documentation

Lazy-load the available choices for the select box

Reimplemented from admin_setting_configselect.

Definition at line 3605 of file adminlib.php.

Here is the call graph for this function:


Field Documentation

$includeall [protected]

Definition at line 3596 of file adminlib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations