getTotal() public method

Method to get the content items total
public getTotal ( ) : integer
return integer
コード例 #1
0
ファイル: PaginatorTest.php プロジェクト: nicksagona/PopPHP
 public function testSetAndGetTotal()
 {
     $p = new Paginator(array());
     $p->setTotal(100);
     $this->assertEquals(100, $p->getTotal());
 }