コード例 #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();
 }