news_list.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class News_List extends oxAdminList
00009 {
00010 
00016     protected $_sThisTemplate = 'news_list.tpl';
00017 
00023     protected $_sListClass = 'oxnews';
00024 
00030     protected $_sListType = 'oxnewslist';
00031 
00037     protected $_sDefSortField = "oxdate";
00038 
00044     public function getListSorting()
00045     {
00046         $aSorting = parent::getListSorting();
00047         if (isset($aSorting["oxnews"][$this->_sDefSortField])) {
00048             $this->_blDesc = true;
00049         }
00050 
00051         return $aSorting;
00052     }
00053 }