/** * Get the command chain context * * This functions inserts a 'caller' variable in the context which contains * the mixer object. * * @return KCommandContext */ public function getCommandContext() { $context = $this->_command_chain->getContext(); $context->caller = $this->_mixer; return $context; }
/** * Removes an exsiting content filter fro the content filter chain. * * @param PlgContentfilterInterface $filter Filter to be removed * * @return PlgContentfilterChain */ public function removeFilter(PlgContentfilterInterface $filter) { $this->_chain->dequeue($filter); return $this; }