예제 #1
0
 /**
  * Load an array of single field results into an array
  *
  * @throws SPException
  * @return array
  */
 public function loadResultArray()
 {
     try {
         $r = $this->db->loadResultArray();
         $this->count++;
     } catch (Exception $e) {
     }
     if ($this->db->getErrorNum()) {
         throw new SPException($this->db->stderr());
     } else {
         return $r;
     }
 }