protected static function _prepare()
    {
        if (empty(static::$_module)) {
            $module = Module::getModuleByClassname(Module::className());
            if (!empty($module)) {
                static::$_sysControllerUid = "/sys/main";
                static::$_routeActionView = "/{$module->uniqueId}/main/view";
                static::$_routeActionShow = "/{$module->uniqueId}/main/show";
                static::$_model = $module::model(self::MODEL_ALIAS);
            }
        }
    }
protected static function _prepare()
    {
        if (empty(static::$_module)) {
            $module = Module::getModuleByClassname(Module::className());
            if (!empty($module)) {
                static::$_sysControllerUid = "/sys/main";
                static::$_routeActionView = "/{$module->uniqueId}/main/view";
                static::$_routeActionShow = "/{$module->uniqueId}/main/show";
                static::$_model = $module::model(self::MODEL_ALIAS);
            }
        }
    }
protected static function _prepare ( ) { if ( empty ( static :: $ _module ) ) { $ module = Module :: getModuleByClassname ( Module :: className ( ) ) ; if ( ! empty ( $ module ) ) { static :: $ _sysControllerUid = "/sys/main" ; static :: $ _routeActionView = "/{$module->uniqueId}/main/view" ; static :: $ _routeActionShow = "/{$module->uniqueId}/main/show" ; static :: $ _model = $ module :: model ( self :: MODEL_ALIAS ) ; } } }
Init usable vars
Init usable vars