getCount() public method

Returns total count of data.
public getCount ( ) : integer
return integer
コード例 #1
0
ファイル: Paginator.php プロジェクト: novotnej/grido
 /**
  * @return int
  */
 public function getCountEnd()
 {
     if ($this->countEnd === NULL) {
         $this->countEnd = $this->grid->getCount() > 0 ? min($this->grid->getCount(), $this->getPage() * $this->grid->getPerPage()) : 0;
     }
     return $this->countEnd;
 }