getResult() public method

Really executes the query on the database. This should only ever be executed from the QueryResult class.
public getResult ( ) : array
return array result set
コード例 #1
0
 /**
  * Loads the objects this QueryResult is supposed to hold
  *
  * @return void
  */
 protected function initialize()
 {
     if (!is_array($this->rows)) {
         $this->rows = $this->query->getResult();
     }
 }