\n"; switch($type) { case "2": $output .= "" . $this->getFirstItem() . " to " . $this->getLastItem() . " of " . $this->getTotal() . " results. "; if($previousUrl = $this->getPreviousUrl()) { $output .= " " . $previousUrl; } if($nextUrl = $this->getNextUrl()) { $output .= " " . $nextUrl; } break; case 1: //get full summary pagination default: $output .= "" . $this->getFirstItem() . "/" . $this->getLastItem() . " (" . $this->getTotal() . ") "; if($firstUrl = $this->getFirstUrl()) { $output .= " " . $firstUrl; } if($previousUrl = $this->getPreviousUrl()) { $output .= " " . $previousUrl; } if($groupUrls = $this->getGroupUrls()) { $output .= " " . $groupUrls; } if($nextUrl = $this->getNextUrl()) { $output .= " " . $nextUrl; } if($lastUrl = $this->getLastUrl()) { $output .= " " . $lastUrl; } $itemPerPage = ''; $itemPerPage .= "limitIndex . "\" id=\"limit\" class=\"input inputLimit\" onchange=\"changePaginationLimit();\">\n"; foreach ($this->limits as $v) { $itemPerPage .= "itemsPerPage?'selected="selected"':'') . ">" . $v . "\n"; } $itemPerPage .= "\n"; $output .= ""; $output .= sprintf(PAGINATION_ITEMS_PER_PAGE, $itemPerPage); $output .= ""; $output .= " "; } $output .= "