getList() public méthode

前台列表获取
public getList ( $limit = 20, $type, $keywords = '', $order = '', $findPage = true )
 /**
  * 初始化测栏数据
  *
  */
 private function FormatSildeNews($type = 0)
 {
     //最新
     $this->assign('silde_new_news', $this->_news->getList(10, $type, '', 'news_id desc', false));
     //热门
     $this->assign('silde_hot_news', $this->_news->getList(10, $type, '', 'hits desc', false));
 }