Esempio n. 1
0
 public function all($orderBy = null, $limit = null, $offset = null)
 {
     list($whereSql, $args) = $this->getWhereSqlAndArgs();
     return $this->table->all($whereSql, $args, $orderBy, $limit, $offset);
 }
Esempio n. 2
0
 public function all()
 {
     list($sql, $args) = $this->prepareSqlAndArgs();
     $this->db->execute($sql, $args);
     return $this->table->all($this->where, $this->whereArgs);
 }