function tripal_views_views_pre_view
2.x tripal_views.views.inc | tripal_views_views_pre_view(&$view, &$display_id, &$args) |
1.x tripal_views.views.inc | tripal_views_views_pre_view(&$view, &$display_id, &$args) |
Implementation of hook_views_pre_view().
File
- tripal_views/
tripal_views.views.inc, line 649 - Tripal Views Integration
Code
function tripal_views_views_pre_view(&$view, &$display_id, &$args) {
// merge the $_GET and $_POST into the $_GET. This is because
// Views and Views Data Export modules only uses the $_GET variable but
// file uploads require $_POST. We need to make sure these two modules
// have access to everything needed for this view to work properlys
$_GET = array_merge($_GET, $_POST);
}