function theme_paging_drop_down_option in Paging 6
Format an "option" HTML element.
Parameters
$url_chunk: Part of the URL with page query.
$page_name: Name of the page.
$page_no: Page number.
$selected: An optional integer to tell when the option is also the current page.
Return value
An HTML string that generates the select list for drop down pager.
1 theme call to theme_paging_drop_down_option()
- theme_paging_drop_down in ./
paging.module - Format a query pager.
File
- ./
paging.module, line 947 - Allows users to use a tag to break up a node into multiple pages.
Code
function theme_paging_drop_down_option($url_chunk = NULL, $page_name = NULL, $page_no = NULL, $selected = NULL) {
return '<option' . ($selected ? ' selected=""' : '') . ' value="' . $url_chunk . '">' . $page_name . '</option>';
}