public function getLastIndice()
    {
        $last = $this->getFirstIndice() - 1 + $this->getLimit();
        if ($last > $this->getTotal()) {
            $last = $this->getTotal();
        }

        return $last;
    }
public function getLastIndice()
    {
        $last = $this->getFirstIndice() - 1 + $this->getLimit();
        if ($last > $this->getTotal()) {
            $last = $this->getTotal();
        }

        return $last;
    }
public function getLastIndice ( ) { $ last = $ this -> getFirstIndice ( ) - 1 + $ this -> getLimit ( ) ; if ( $ last > $ this -> getTotal ( ) ) { $ last = $ this -> getTotal ( ) ; } return $ last ; }
Returns last indice.

@return int
Returns last indice .