示例#1
0
 public function getsitelist()
 {
     $sites = new Sites();
     $select = $sites->select();
     //		$select'id, name';
     echo $select->__toString();
     return $sites->fetchAll($select)->toArray();
 }