function context_condition::__construct

cis7 context_condition.inc context_condition::__construct($plugin, $info)
cle7 context_condition.inc context_condition::__construct($plugin, $info)
elmsmedia7 context_condition.inc context_condition::__construct($plugin, $info)
icor7 context_condition.inc context_condition::__construct($plugin, $info)
meedjum_blog7 context_condition.inc context_condition::__construct($plugin, $info)
mooc7 context_condition.inc context_condition::__construct($plugin, $info)

Constructor. Do not override.

File

sites/all/modules/ulmus/context/plugins/context_condition.inc, line 32

Class

context_condition
Base class for a context condition.

Code

function __construct($plugin, $info) {
  $this->plugin = $plugin;
  $this->title = isset($info['title']) ? $info['title'] : $plugin;
  $this->description = isset($info['description']) ? $info['description'] : '';
}
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.