47 protected function isContext($parameters, $allContexts)
49 if (is_array($allContexts)) {
50 foreach ($allContexts as $context) {
51 if ($this->
isContext($parameters, $context)) {
57 if ($parameters[
'currentcontext'] == $allContexts) {
60 $contexts = explode(
':', $parameters[
'context']);
61 return in_array($allContexts, $contexts);