oxcountrylist.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class oxCountryList extends oxList
00009 {
00010 
00016     public function __construct()
00017     {
00018         parent::__construct('oxcountry');
00019     }
00020 
00026     public function loadActiveCountries($iLang = null)
00027     {
00028         $sViewName = getViewName('oxcountry', $iLang);
00029         $sSelect = "SELECT oxid, oxtitle, oxisoalpha2 FROM {$sViewName} WHERE oxactive = '1' ORDER BY oxorder, oxtitle ";
00030         $this->selectString($sSelect);
00031     }
00032 }