function smart_paging_get_url_fragment in Smart Paging 7.2
Same name and namespace in other branches
- 7 smart_paging.module \smart_paging_get_url_fragment()
Helper function for grabbing Smart Paging fragment url for more SEO friendly.
2 calls to smart_paging_get_url_fragment()
- smart_paging_field_attach_view_alter in ./
smart_paging.module - Implements hook_field_attach_view_alter().
- smart_paging_url_outbound_alter in ./
smart_paging.module - Implements hook_url_outbound_alter().
File
- ./
smart_paging.module, line 1843 - Provides smart paging capability to Drupal contents.
Code
function smart_paging_get_url_fragment($url = NULL) {
$smart_paging_url =& drupal_static(__FUNCTION__);
if (!isset($smart_paging_url) || !empty($url)) {
$smart_paging_url = $url;
}
return $smart_paging_url;
}