예제 #1
0
 /**
  * Get all of the model results for the query.
  *
  * @param  array  $columns
  * @return array
  */
 public function get($columns = array('*'))
 {
     return $this->hydrate($this->model, $this->table->get($columns));
 }
예제 #2
0
파일: query.php 프로젝트: simonfork/phpmark
 /**
  * Get all of the model results for the query.
  *
  * @param  array  $columns
  * @param  bool   $include
  * @return array
  */
 public function get($columns = array('*'), $include = true)
 {
     return $this->hydrate($this->model, $this->table->get($columns), $include);
 }