You are here

function panels_cache_object::add_content in Panels 6.3

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

Add content to the cache. This assumes a pure stream; use set_content() if it's something else.

File

includes/plugins.inc, line 140
Contains helper code for plugins and contexts.

Class

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

Code

function add_content($content) {
  $this->content .= $content;
}