Пример #1
0
 /**
  * 城市列表
  */
 public function listAction()
 {
     $aCookie = Util_Cookie::get(Yaf_G::getConf('authkey', 'cookie'));
     $iPage = intval($this->getParam('page'));
     $aWhere = array('iStatus' => 1);
     $aList = Model_City::getList($aWhere, $iPage);
     $this->assign('aList', $aList);
 }