function context_condition::__construct in Context 6
Same name and namespace in other branches
- 6.3 plugins/context_condition.inc \context_condition::__construct()
- 7.3 plugins/context_condition.inc \context_condition::__construct()
Constructor. Do not override.
File
- 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'] : '';
}