list_user.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class List_User extends User_List
00007 {
00013     protected function _getViewListSize()
00014     {
00015         return $this->_getUserDefListSize();
00016     }
00017 
00024     public function init()
00025     {
00026         oxAdminList::init();
00027     }
00028 
00035     public function render()
00036     {
00037         parent::render();
00038 
00039         $this->_aViewData["viewListSize"]  = $this->_getViewListSize();
00040         $this->_aViewData["whereparam"]    = $this->_aViewData["whereparam"] . '&amp;viewListSize='.$this->_getViewListSize();
00041         $this->_aViewData["menustructure"] = $this->getNavigation()->getDomXml()->documentElement->childNodes;
00042         return "list_user.tpl";
00043     }
00044 
00052     protected function _prepareOrderByQuery( $sSql = null )
00053     {
00054         if ( $sSort = oxConfig::getParameter( "sort" ) ) {
00055             $sSql .= " order by " . oxDb::getInstance()->escapeString( $sSort ) . " ";
00056         }
00057 
00058         return $sSql;
00059     }
00060 }