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 $_sDefSort = "oxdate";
00036 
00043     public function init()
00044     {
00045         $sSortCol = oxConfig::getParameter( 'sort' );
00046         if ( !$sSortCol || $sSortCol == $this->_sDefSort ) {
00047             $this->_blDesc = true;
00048         }
00049 
00050         parent::init();
00051     }
00052 }