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