public function setPerPageList(array $perPageList)
    {
        $this->perPageList = $perPageList;

        if ($this->hasFilters(FALSE) || $this->hasOperation(FALSE)) {
            $this['form']['count']->setItems($this->getItemsForCountSelect());
        }

        return $this;
    }
public function setPerPageList(array $perPageList)
    {
        $this->perPageList = $perPageList;

        if ($this->hasFilters(FALSE) || $this->hasOperation(FALSE)) {
            $this['form']['count']->setItems($this->getItemsForCountSelect());
        }

        return $this;
    }
public function setPerPageList ( array $ perPageList ) { $ this -> perPageList = $ perPageList ; if ( $ this -> hasFilters ( FALSE ) || $ this -> hasOperation ( FALSE ) ) { $ this [ 'form' ] [ 'count' ] -> setItems ( $ this -> getItemsForCountSelect ( ) ) ; } return $ this ; }
Sets items to per-page select.
@param array $perPageList
@return Grid
Sets items to per - page select .