예제 #1
0
파일: DbStore.php 프로젝트: ajaboa/crmpuan
 /**
  * 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();
 }
예제 #2
0
파일: Store.php 프로젝트: ajaboa/crmpuan
 public function getTotal()
 {
     return isset($this->_stmt->foundRows) ? $this->_stmt->foundRows : $this->_stmt->rowCount();
 }