You are here

function ctools_context::ctools_context in Chaos Tool Suite (ctools) 6

File

includes/context.inc, line 45
Contains code related to the ctools system of 'context'.

Class

ctools_context
The context object is largely a wrapper around some other object, with an interface to finding out what is contained and getting to both the object and information about the object.

Code

function ctools_context($type = 'none', $data = NULL) {
  $this->type = $type;
  $this->data = $data;
  $this->title = t('Unknown context');
}