public function getItemsPerPageSession()
    {
        $variable = 'search/' . $this->getSessionNamespace() . '/items_per_page';
        if ($this->session->has($variable)) {
            return (int) $this->session->get($variable);
        }

        return null;
    }