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