OXID eShop CE  4.9.9
 All Classes Files Functions Variables Pages
news_list.php
Go to the documentation of this file.
1 <?php
2 
8 class News_List extends oxAdminList
9 {
10 
16  protected $_sThisTemplate = 'news_list.tpl';
17 
23  protected $_sListClass = 'oxnews';
24 
30  protected $_sListType = 'oxnewslist';
31 
37  protected $_sDefSortField = "oxdate";
38 
44  public function getListSorting()
45  {
46  $aSorting = parent::getListSorting();
47  if (isset($aSorting["oxnews"][$this->_sDefSortField])) {
48  $this->_blDesc = true;
49  }
50 
51  return $aSorting;
52  }
53 }