final public function initialize($action)
    {
        $this->haltOnDemand();

        // Configure view with defaults
        $this->view->setModule($this->getModule())
                   ->setTheme($this->appConfig->getTheme());

        if (method_exists($this, 'bootstrap')) {
            $this->bootstrap($action);
        }

        if (method_exists($this, 'onAuth')) {
            $this->onAuth();
        }

        $this->loadDefaultTranslations();
    }
final public function initialize($action)
    {
        $this->haltOnDemand();

        // Configure view with defaults
        $this->view->setModule($this->getModule())
                   ->setTheme($this->appConfig->getTheme());

        if (method_exists($this, 'bootstrap')) {
            $this->bootstrap($action);
        }

        if (method_exists($this, 'onAuth')) {
            $this->onAuth();
        }

        $this->loadDefaultTranslations();
    }
final public function initialize ( $ action ) { $ this -> haltOnDemand ( ) ; // Configure view with defaults $ this -> view -> setModule ( $ this -> getModule ( ) ) -> setTheme ( $ this -> appConfig -> getTheme ( ) ) ; if ( method_exists ( $ this , 'bootstrap' ) ) { $ this -> bootstrap ( $ action ) ; } if ( method_exists ( $ this , 'onAuth' ) ) { $ this -> onAuth ( ) ; } $ this -> loadDefaultTranslations ( ) ; }
Invoked right after class instantiation

@param string $action Current action to be executed
@return void
Invoked right after class instantiation