How do I get total record count from Doctrine_Pager?
Posted
by terrani
on Stack Overflow
See other posts from Stack Overflow
or by terrani
Published on 2010-03-29T03:17:47Z
Indexed on
2010/03/29
3:23 UTC
Read the original article
Hit count: 220
doctrine-pager
|total-record-count
Hi,
I am tryign to use Doctrine_Pager for the first time. So I have the following code.
$q = Doctrine_Query::create()
->from("Member m");
$pager = new Doctrine_Pager($q,1,10);
$result = $pager->execute();
I need to know total record count of Member table. How do I get it??
© Stack Overflow or respective owner