You are here

function _draggableviews_quick_check_structure in DraggableViews 6.3

Same name and namespace in other branches
  1. 7 draggableviews.inc \_draggableviews_quick_check_structure()
2 calls to _draggableviews_quick_check_structure()
draggableviews_views_pre_render in ./draggableviews.module
Imlpementing hook_views_pre_render
_draggableviews_rebuild_hierarchy in ./draggableviews.inc
Rebuild hierarchy

File

./draggableviews.inc, line 208
Draggableviews processing functions. Rough summary of what functions in this file do:

Code

function _draggableviews_quick_check_structure($info) {

  // Calculate views page offset.
  $pager = $info['view']->pager;
  $offset = $pager['items_per_page'] * $pager['current_page'] + $pager['offset'];

  // Call function in checking mode (renumber = FALSE). The order value must begin with $offset.
  return _draggableviews_ascending_numbers($info, $offset, FALSE);
}