Beispiel #1
0
 /**
  * undocumented function
  *
  * @return void
  * @author Justin Palmer
  **/
 public function findAll($forceSet = true)
 {
     $database_name = $this->model->database_name();
     $table_name = $this->model->table_name();
     $query = $this->builder->build("SELECT ? FROM `{$database_name}`.`{$table_name}`");
     $this->builder->reset();
     $this->Statement = $this->prepare(array_shift($query->query));
     $this->Statement->execute(array_values($query->params));
     return ResultFactory::factory($this->Statement, $forceSet);
 }