function view::post_execute
Same name in other branches
- 6.x-3.x includes/view.inc \view::post_execute()
Unset the current view, mostly.
2 calls to view::post_execute()
- view::execute_display in includes/
view.inc - Execute the given display, with the given arguments. To be called externally by whatever mechanism invokes the view, such as a page callback, hook_block, etc.
- view::preview in includes/
view.inc - Preview the given display, with the given arguments.
File
-
includes/
view.inc, line 1475
Class
- view
- An object to contain all of the data to generate a view.
Code
public function post_execute() {
// Unset current view so we can be properly destructed later on.
// Return the previous value in case we're an attachment.
if ($this->old_view) {
$old_view = array_pop($this->old_view);
}
views_set_current_view(isset($old_view) ? $old_view : FALSE);
}