public function setIpp($ipp, $label = 'Item per pages:')
    {
        if (is_array($ipp)) {
            $this->addItemsPerPageSelector($ipp, $label);
            if (@$_GET['ipp']) {
                $this->ipp = $_GET['ipp'];
            } else {
                $this->ipp = $ipp[0];
            }
        } else {
            $this->ipp = $ipp;
        }
    }