Ejemplo n.º 1
0
 /**
  * (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);
 }
Ejemplo n.º 2
0
 /**
  * Koństruktor
  *
  * @param	string	$sCollName	nazwa aktualnej kolekcji
  */
 public function __construct($sCollName)
 {
     parent::__construct($sCollName);
     $this->moduleReset();
 }