private function _invokeBeforeMethods() { foreach ($this->currentControllerObject->before as $callback) { if (!$this->callCallback($callback)) { return false; } if ($this->_isRedirect()) { return false; } } return true; }