You are here

function globallink_interface_pager_form_submit in GlobalLink Connect for Drupal 7.6

Same name and namespace in other branches
  1. 7.7 globallink_interface/globallink_interface_send.inc \globallink_interface_pager_form_submit()
  2. 7.5 globallink_interface/globallink_interface_send.inc \globallink_interface_pager_form_submit()

Handles submission of pager form.

1 string reference to 'globallink_interface_pager_form_submit'
globallink_interface_dashboard_pager_form in globallink_interface/globallink_interface_send.inc
Builds form to add pagination to interface send dashboard.

File

globallink_interface/globallink_interface_send.inc, line 223

Code

function globallink_interface_pager_form_submit($form, &$form_state) {
  $op = isset($form_state['values']['op']) ? $form_state['values']['op'] : '';
  if ($op != t('Go')) {
    return;
  }
  $page_count = $form_state['input']['p_count'];
  $_SESSION['globallink_interface_page_count'] = array(
    $page_count,
  );
}