Ejemplo n.º 1
0
 /**
  * Gets the results into an array
  *
  * @return boolean value / array value
  */
 public function fetch($count = 0)
 {
     if ($this->PDO) {
         return !$this->Rs ? FALSE : $this->Rs->fetch(PDO::FETCH_ASSOC);
     } else {
         return !$this->Rs ? FALSE : $this->Database->fetch($count);
     }
 }
Ejemplo n.º 2
0
Archivo: db.php Proyecto: no2key/MuuCMS
 /**
  * Gets the results into an array
  *
  * @return boolean value / array value
  */
 public function fetch($count = 0)
 {
     return !$this->Rs ? FALSE : $this->Rs->fetch(PDO::FETCH_ASSOC);
 }