news_list.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class News_List extends oxAdminList
00009 {
00014     protected $_sThisTemplate = 'news_list.tpl';
00015 
00021     protected $_sListClass = 'oxnews';
00022 
00028     protected $_sListType = 'oxnewslist';
00029 
00035     protected $_sDefSortField = "oxdate";
00036 
00042     public function getListSorting()
00043     {
00044         $aSorting = parent::getListSorting();
00045         if ( isset( $aSorting["oxnews"][$this->_sDefSortField] )) {
00046             $this->_blDesc = true;
00047         }
00048         return $aSorting;
00049     }
00050 }