3
* © Copyright 2007, 2008 IntraHealth International, Inc.
5
* This File is part of iHRIS
7
* iHRIS is free software; you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation; either version 3 of the License, or
10
* (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
23
* @author Luke Duncan <lduncan@intrahealth.org>
24
* @copyright Copyright © 2007, 2008 IntraHealth International, Inc.
29
* Object for dealing with countries.
35
class iHRIS_Country extends I2CE_List {
38
* The sort field name to be used for sorting the display list.
40
const SORT_FIELD = "-primary";
46
* Populate the options for a selection element in the {@link I2CE_Template}
48
* List all countries that are used for locations.
50
* @param string $form_name The form being listed.
53
static public function listLocation ( $form_name ) {
54
return parent::listOptions( $form_name, "location", 1 );
61
# c-default-style: "bsd"
62
# indent-tabs-mode: nil