OXID eShop CE  4.8.11
 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 {
14  protected $_sThisTemplate = 'news_list.tpl';
15 
21  protected $_sListClass = 'oxnews';
22 
28  protected $_sListType = 'oxnewslist';
29 
35  protected $_sDefSortField = "oxdate";
36 
42  public function getListSorting()
43  {
44  $aSorting = parent::getListSorting();
45  if ( isset( $aSorting["oxnews"][$this->_sDefSortField] )) {
46  $this->_blDesc = true;
47  }
48  return $aSorting;
49  }
50 }