function _smart_paging_method_list in Smart Paging 7.2
Same name and namespace in other branches
- 7 smart_paging.module \_smart_paging_method_list()
Helper function for grabbing Smart Paging method list.
4 calls to _smart_paging_method_list()
- smart_paging_admin_settings in includes/
smart_paging.admin.inc - Smart Paging administration settings.
- smart_paging_field_formatter_settings_form in ./
smart_paging.module - Pseudo hook_field_formatter_settings_form().
- smart_paging_field_formatter_settings_summary in ./
smart_paging.module - Pseudo hook_field_formatter_settings_summary().
- smart_paging_form_alter in ./
smart_paging.module - Implements hook_form_alter()
File
- ./
smart_paging.module, line 1806 - Provides smart paging capability to Drupal contents.
Code
function _smart_paging_method_list() {
$methods =& drupal_static(__FUNCTION__);
if (!isset($methods)) {
$methods = array(
SMART_PAGING_NO_METHOD => t('Bypass Smart Paging input filter'),
SMART_PAGING_PLACEHOLDER_METHOD => t('Manual placement of page break placeholder'),
SMART_PAGING_CHARACTER_LIMIT_METHOD => t('Automatic page break by character limit'),
SMART_PAGING_WORD_LIMIT_METHOD => t('Automatic page break by word limit'),
SMART_PAGING_WORD_BLOCK_LIMIT_METHOD => t('Automatic page break by word and block limit'),
);
}
return $methods;
}