library/RBM/Datagrid/Data/Processor/ArrayProcessor.php
protected function _truncate()
    {
        if (!$this->getLimit()->isNull()) {
            if (is_null($this->getLimit()->getCount())) {
                $this->_output = array_splice($this->_output, $this->getLimit()->getStart());
            } else {
                $this->_output = array_splice($this->_output, $this->getLimit()->getStart(), $this->getLimit()->getCount());
            }
        }
    }
protected function _truncate()
    {
        if (!$this->getLimit()->isNull()) {
            if (is_null($this->getLimit()->getCount())) {
                $this->_output = array_splice($this->_output, $this->getLimit()->getStart());
            } else {
                $this->_output = array_splice($this->_output, $this->getLimit()->getStart(), $this->getLimit()->getCount());
            }
        }
    }
protected function _truncate ( ) { if ( ! $ this -> getLimit ( ) -> isNull ( ) ) { if ( is_null ( $ this -> getLimit ( ) -> getCount ( ) ) ) { $ this -> _output = array_splice ( $ this -> _output , $ this -> getLimit ( ) -> getStart ( ) ) ; } else { $ this -> _output = array_splice ( $ this -> _output , $ this -> getLimit ( ) -> getStart ( ) , $ this -> getLimit ( ) -> getCount ( ) ) ; } } }
Simply splice the array
Simply splice the array