2009-12-28 65 views

回答

0

我一直無法測試這一點,我很害怕,但Zend_Service_Amazon狀態的文檔結果集實現SeekableIteratorhttp://framework.zend.com/manual/en/zend.service.amazon.html#zend.service.amazon.classes.resultset) - 這應該是與Iterator適配器Zend_Paginator,如兼容:

$amazon = new Zend_Service_Amazon(....); 
$results = $amazon->itemSearch(array('SearchIndex' => 'Books', 'Keywords' => 'php')); 
$paginator = new Zend_Paginator(new Zend_Paginator_Adapter_Iterator($results)); 
相關問題