コード例 #1
0
ファイル: query.php プロジェクト: gigikiri/masjid-l3
 /**
  * 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);
 }