/** * Command handler * * @param string The command name * @param object The command context * @return boolean Can return both true or false. */ public function execute($name, KCommandContext $context) { $parts = explode('.', $name); if ($parts[0] == 'before') { $this->_fetchOwner($context); } parent::execute($name, $context); }
/** * (non-PHPdoc). * * @see KControllerBehaviorAbstract::execute() */ public function execute($name, KCommandContext $context) { return parent::execute($name, $context); }