You are here

function panels_cache_object::panels_cache_object in Panels 5.2

Same name and namespace in other branches
  1. 6.3 includes/plugins.inc \panels_cache_object::panels_cache_object()
  2. 6.2 includes/plugins.inc \panels_cache_object::panels_cache_object()

When constructed, take a snapshot of our existing out of band data.

File

includes/plugins.inc, line 633
plugins.inc

Class

panels_cache_object
An object to hold caching information while it is happening.

Code

function panels_cache_object() {
  $this->head = drupal_set_html_head();
  $this->css = drupal_add_css();
  foreach (array(
    'header',
    'footer',
  ) as $scope) {
    $this->js[$scope] = drupal_add_js(NULL, NULL, $scope);
  }
}