OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxcountrylist.php
Go to the documentation of this file.
1 <?php
2 
8 class oxCountryList extends oxList
9 {
10 
16  public function __construct()
17  {
18  parent::__construct('oxcountry');
19  }
20 
26  public function loadActiveCountries($iLang = null)
27  {
28  $sViewName = getViewName('oxcountry', $iLang);
29  $sSelect = "SELECT oxid, oxtitle, oxisoalpha2 FROM {$sViewName} WHERE oxactive = '1' ORDER BY oxorder, oxtitle ";
30  $this->selectString($sSelect);
31  }
32 }