public function rows() { $table = new Hi_Db_Table('user_resource'); //取道表的过滤工具对象,并过滤出resourceID > 1的记录 $cond = $table->getCondition(); $cond->add('resourceID', 1, '>'); $row = $table->rows(); print_r($row); }