src/View/AbstractRender.php
protected function renderPluginList()
    {
        $result = '';
        $template = $this->getTemplateFileContent(static::FILE_SI_PLUGIN);
        foreach (SettingsGetter::getPlugins() as $plugin) {
            if ($plugin[SettingsGetter::IS_ACTIVE] === true) {
                $activeClass = 'kisactive';
                $activeText = 'active';
            } else {
                $activeClass = 'kisinactive';
                $activeText = 'inactive';
            }
            $result .= str_replace(
                array(
                    static::MARKER_PLUGIN_ACTIVE_CLASS,
                    static::MARKER_PLUGIN_ACTIVE_TEXT,
                    static::MARKER_PLUGIN_TEXT,
                ),
                array(
                    $activeClass,
                    $activeText,
                    $plugin[SettingsGetter::PLUGIN_NAME] . ' ' . $plugin[SettingsGetter::PLUGIN_VERSION]
                ),
                $template
            );
        }
        return $result;
    }
protected function renderPluginList()
    {
        $result = '';
        $template = $this->getTemplateFileContent(static::FILE_SI_PLUGIN);
        foreach (SettingsGetter::getPlugins() as $plugin) {
            if ($plugin[SettingsGetter::IS_ACTIVE] === true) {
                $activeClass = 'kisactive';
                $activeText = 'active';
            } else {
                $activeClass = 'kisinactive';
                $activeText = 'inactive';
            }
            $result .= str_replace(
                array(
                    static::MARKER_PLUGIN_ACTIVE_CLASS,
                    static::MARKER_PLUGIN_ACTIVE_TEXT,
                    static::MARKER_PLUGIN_TEXT,
                ),
                array(
                    $activeClass,
                    $activeText,
                    $plugin[SettingsGetter::PLUGIN_NAME] . ' ' . $plugin[SettingsGetter::PLUGIN_VERSION]
                ),
                $template
            );
        }
        return $result;
    }
protected function renderPluginList ( ) { $ result = '' ; $ template = $ this -> getTemplateFileContent ( static :: FILE_SI_PLUGIN ) ; foreach ( SettingsGetter :: getPlugins ( ) as $ plugin ) { if ( $ plugin [ SettingsGetter :: IS_ACTIVE ] === true ) { $ activeClass = 'kisactive' ; $ activeText = 'active' ; } else { $ activeClass = 'kisinactive' ; $ activeText = 'inactive' ; } $ result .= str_replace ( array ( static :: MARKER_PLUGIN_ACTIVE_CLASS , static :: MARKER_PLUGIN_ACTIVE_TEXT , static :: MARKER_PLUGIN_TEXT , ) , array ( $ activeClass , $ activeText , $ plugin [ SettingsGetter :: PLUGIN_NAME ] . ' ' . $ plugin [ SettingsGetter :: PLUGIN_VERSION ] ) , $ template ) ; } return $ result ; }
Render a list of all registered plugins.

@return string
The generated markup from the template files.
Render a list of all registered plugins .