protected function ServicesViewsApiTestCase::executeView in Services Views 7
Helper function to execute a view with debugging.
Parameters
view $view:
array $args:
1 call to ServicesViewsApiTestCase::executeView()
- ServicesViewsSecurityUpgradePathTest::testClone in tests/
services_views_upgrade_path.test - Test the upgraded clone to see if it produces the same output.
File
- tests/
services_views.test, line 171
Class
Code
protected function executeView($view, $display = 'default', $args = array()) {
$view
->set_display($display);
$view
->pre_execute($args);
$view
->execute();
$this
->verbose('<pre>Executed view: ' . (string) $view->build_info['query'] . '</pre>');
}