import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Paginator
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: Iterator.php 16215 2009-06-21 19:36:07Z thomas $
|
||||
* @version $Id: Iterator.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -34,11 +34,11 @@ class Zend_Paginator_Adapter_Iterator implements Zend_Paginator_Adapter_Interfac
|
||||
{
|
||||
/**
|
||||
* Iterator which implements Countable
|
||||
*
|
||||
*
|
||||
* @var Iterator
|
||||
*/
|
||||
protected $_iterator = null;
|
||||
|
||||
|
||||
/**
|
||||
* Item count
|
||||
*
|
||||
@ -48,7 +48,7 @@ class Zend_Paginator_Adapter_Iterator implements Zend_Paginator_Adapter_Interfac
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
*
|
||||
* @param Iterator $iterator Iterator to paginate
|
||||
* @throws Zend_Paginator_Exception
|
||||
*/
|
||||
@ -59,7 +59,7 @@ class Zend_Paginator_Adapter_Iterator implements Zend_Paginator_Adapter_Interfac
|
||||
* @see Zend_Paginator_Exception
|
||||
*/
|
||||
require_once 'Zend/Paginator/Exception.php';
|
||||
|
||||
|
||||
throw new Zend_Paginator_Exception('Iterator must implement Countable');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user