OXID eShop CE  4.10.1
 All Classes Namespaces Files Functions Variables Pages
news_list.php
Go to the documentation of this file.
1 <?php
2 
10 class News_List extends oxAdminList
11 {
12 
18  protected $_sThisTemplate = 'news_list.tpl';
19 
25  protected $_sListClass = 'oxnews';
26 
32  protected $_sListType = 'oxnewslist';
33 
39  protected $_sDefSortField = "oxdate";
40 
46  public function getListSorting()
47  {
48  $aSorting = parent::getListSorting();
49  if (isset($aSorting["oxnews"][$this->_sDefSortField])) {
50  $this->_blDesc = true;
51  }
52 
53  return $aSorting;
54  }
55 }