Index: DbSelect.php =================================================================== --- DbSelect.php (revision 16541) +++ DbSelect.php (working copy) @@ -40,7 +40,7 @@ * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ -class Zend_Paginator_Adapter_DbSelect implements Zend_Paginator_Adapter_Interface +class Zend_Paginator_Adapter_DbSelect implements Zend_Paginator_Adapter_Interface, Serializable { /** * Name of the row count column @@ -70,6 +70,12 @@ */ protected $_rowCount = null; + public function serialize() + { + return (string)$this->_select; + } + + public function unserialize($serialized) { } /** * Constructor. *