Ejemplo n.º 1
0
 /**
  * Return total amount of record for the statement (without limit)
  * @return integer Number of total Records
  */
 public function getTotal()
 {
     if (!isset($this->_stmt)) {
         $this->_stmt = $this->createStatement();
     }
     return isset($this->_stmt->foundRows) ? $this->_stmt->foundRows : $this->_stmt->rowCount();
 }
Ejemplo n.º 2
0
 public function getTotal()
 {
     return isset($this->_stmt->foundRows) ? $this->_stmt->foundRows : $this->_stmt->rowCount();
 }