function panels_cache_object::panels_cache_object in Panels 6.3
Same name and namespace in other branches
- 5.2 includes/plugins.inc \panels_cache_object::panels_cache_object()
- 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 126 - Contains helper code for plugins and contexts.
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();
$this->tokens = ctools_set_page_token();
foreach (array(
'header',
'footer',
) as $scope) {
$this->js[$scope] = drupal_add_js(NULL, NULL, $scope);
}
}