/** * (non-PHPdoc) * @see Zend_Paginator_Adapter_Interface::getItems() */ public function getItems($iOffset, $iItemPerPage) { $iPage = floor($iOffset / $iItemPerPage) + 1; return $this->oFactory->getPage($iPage, $iItemPerPage, $this->aQuery, $this->aFields, $this->aSort, $this->aOptions); }
/** * Koństruktor * * @param string $sCollName nazwa aktualnej kolekcji */ public function __construct($sCollName) { parent::__construct($sCollName); $this->moduleReset(); }