oxshoplist.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class oxShopList extends oxList
00009 {
00010 
00016     public function __construct()
00017     {
00018         return parent::__construct('oxshop');
00019     }
00020 
00024     public function getAll()
00025     {
00026         $this->selectString('SELECT `oxshops`.* FROM `oxshops`');
00027     }
00028 
00032     public function getIdTitleList()
00033     {
00034         $this->setBaseObject(oxNew('oxListObject', 'oxshops'));
00035         $this->selectString('SELECT `OXID`, `OXNAME` FROM `oxshops`');
00036     }
00037 
00038 }