public function paging($records, $pageURL, $start = 0, $maxshown = 50, $numpagesshown = 11, $arrows = true, $additional = array()) {
        self::$pageURL = $pageURL;
        $this->queryString = $additional;
        if ($records > $maxshown) {
            self::$current = $start >= 1 ? intval($start) : 1;
            self::$totalPages = ceil(intval($records) / ($maxshown >= 1 ? intval($maxshown) : 1));
            self::$lastpage = self::$totalPages;
            $this->getPage($records, $maxshown, $numpagesshown);
            
            $paging = '<ul class="'.$this->getPaginationClass().'">'.$this->preLinks($arrows);
            while (self::$page <= self::$lastpage) {
                $paging .= $this->buildLink(self::$page, self::$page, (self::$current == self::$page));
                self::$page = (self::$page + 1);
            }
            return $paging.$this->postLinks($arrows).'</ul>';
        }
        return false;
    }