protected function loadItemsForCurrentPage()
    {
        $items = $this->adapter->getItems($this->getOffset(), $this->itemsCountPerPage, $this->sort);
        if (!($items instanceof \Traversable)) {
            $this->items = new \ArrayIterator($items);
        } else {
            $this->items = $items;
        }
    }
protected function loadItemsForCurrentPage()
    {
        $items = $this->adapter->getItems($this->getOffset(), $this->itemsCountPerPage, $this->sort);
        if (!($items instanceof \Traversable)) {
            $this->items = new \ArrayIterator($items);
        } else {
            $this->items = $items;
        }
    }
protected function loadItemsForCurrentPage ( ) { $ items = $ this -> adapter -> getItems ( $ this -> getOffset ( ) , $ this -> itemsCountPerPage , $ this -> sort ) ; if ( ! ( $ items instanceof \ Traversable ) ) { $ this -> items = new \ ArrayIterator ( $ items ) ; } else { $ this -> items = $ items ; } }
Method load items for current page

@return void
Method load items for current page