ZF-4676: Zend_Paginator_Adapter_Interface is missing documentation for count() that used to be there
Description
Zend_Paginator_Adapter_Interface is missing the documentation for count() as of Rev12071. In Rev10200 it was:
/**
* Returns the total number of rows in the collection.
*
* @return integer
*/
//public function count();
Comments
Posted by julien PAULI (doctorrock83) on 2008-10-22T04:55:33.000+0000
The interface is not told to redifine extended methods.
Count() is not actually in the Zend_Paginator_Adapter_Interface source code
Posted by Roger Hunwicks (rhunwicks) on 2008-10-22T05:01:48.000+0000
I realize that count() isn't actually defined, but the Zend_Paginator_Adapter_Interface extends Countable, so any class implementing the Interface has to have a count() function.
The earlier versions of this file had the code above, which is in fact all commented out, but serves as a useful reminder to someone creating a class to implement the interface, that it needs have a count() function as well as getItems().
Posted by Jurrien Stutterheim (norm2782) on 2008-10-22T08:37:05.000+0000
Resolved in revision 12078
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:14.000+0000
Changing issues in preparation for the 1.7.0 release.