public function getOffset()
    {
        $page = $this->getRequest()->get('page', 1);
        $limit = $this->getRequest()->get('limit');

        return (null != $limit) ? $limit * ($page - 1) : null;
    }