function view::post_execute

cis7 view.inc view::post_execute()
cle7 view.inc view::post_execute()
elmsmedia7 view.inc view::post_execute()
icor7 view.inc view::post_execute()
meedjum_blog7 view.inc view::post_execute()
mooc7 view.inc view::post_execute()

Unset the current view, mostly.

2 calls to view::post_execute()
view::execute_display in sites/all/modules/ulmus/views/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 sites/all/modules/ulmus/views/includes/view.inc
Preview the given display, with the given arguments.

File

sites/all/modules/ulmus/views/includes/view.inc, line 1405
Provides the view object type and associated methods.

Class

view
An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output.

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);
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.