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