'', 'rid' => '', 'iscommend' => 0, 'ishot' => 0, 'pcate' => 0, 'ccate' => 0, 'template' => '', 'title' => '', 'description' => '', 'content' => '', 'thumb' => '', 'incontent' => 0, 'source' => '', 'author' => '', 'displayorder' => 0, 'linkurl' => '', 'createtime' => 0, 'edittime' => '', 'click' => 0, 'type' => '', 'credit' => '' ); public function getAllByUniacid($uniacid) { return $this->query->where('uniacid', $uniacid)->getall(); } public function getBySnake($fields = '*', $where = array(), $order = array('id' => 'DESC')) { return $this->query->select($fields)->where($where)->orderby($order); } }