Show
Ignore:
Timestamp:
06/06/10 02:16:31 (2 years ago)
Author:
ort
Message:

доработка плагина Page - появилась сортировка и вывод на главную

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/page/classes/modules/page/Page.class.php

    r929 r933  
    187187                return $this->oMapper->SetPagesPidToNull(); 
    188188        } 
     189        /** 
     190         * Получает слудующую по сортировке страницу 
     191         * 
     192         * @param unknown_type $iSort 
     193         * @param unknown_type $sWay 
     194         * @return unknown 
     195         */ 
     196        public function GetNextPageBySort($iSort,$sPid,$sWay='up') { 
     197                return $this->oMapper->GetNextPageBySort($iSort,$sPid,$sWay); 
     198        } 
     199        /** 
     200         * Получает значение максимальной сртировки 
     201         * 
     202         * @return unknown 
     203         */ 
     204        public function GetMaxSortByPid($sPid) { 
     205                return $this->oMapper->GetMaxSortByPid($sPid); 
     206        } 
    189207} 
    190208?>