1 view.inc | view::post_execute() |
Unset the current view, mostly.
File
- core/
modules/ views/ includes/ view.inc, line 1441 - Provides the view object type and associated methods.
Class
Code
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);
}