public function getModuleSetModules()
    {
        if (empty($this->moduleSet) || !isset(Yii::$app->extensions[$this->moduleSet])) {
            return '';
        }
        $bsClass = Yii::$app->extensions[$this->moduleSet]['bootstrap'];
        $p = [];
        $bs = new $bsClass();
        $modules = $bs->getModules();
        $modules[$this->moduleID] = ['class' => $this->moduleClass];
        foreach ($modules as $id => $module) {
            $e = '$m[\'' . $id . '\'] = [';
            if (!is_array($module)) {
                $module = ['class' => $module];
            }
            $n = 0;
            foreach ($module as $k => $v) {
                $e .= "\n\t\t\t'{$k}' => ";
                if (is_string($v)) {
                    $e .= "'" . addslashes($v) . "'";
                } elseif (is_numeric($v)) {
                    $e .= $v;
                }
                $n++;
                if ($n !== count($module)) {
                    $e .= ',';
                }
            }
            $e .= "\n\t\t];";
            $p[] = $e;
        }

        return implode("\n\t\t", $p);
    }