protected function init_pluginsinfo_property() {
        if (is_array($this->pluginsinfo)) {
            return;
        }
        $this->pluginsinfo = array();

        $plugintypes = $this->get_plugin_types();

        foreach ($plugintypes as $plugintype => $plugintyperootdir) {
            $this->pluginsinfo[$plugintype] = null;
        }

        // Add orphaned subplugin types.
        $this->load_installed_plugins();
        foreach ($this->installedplugins as $plugintype => $unused) {
            if (!isset($plugintypes[$plugintype])) {
                $this->pluginsinfo[$plugintype] = null;
            }
        }
    }
protected function init_pluginsinfo_property() {
        if (is_array($this->pluginsinfo)) {
            return;
        }
        $this->pluginsinfo = array();

        $plugintypes = $this->get_plugin_types();

        foreach ($plugintypes as $plugintype => $plugintyperootdir) {
            $this->pluginsinfo[$plugintype] = null;
        }

        // Add orphaned subplugin types.
        $this->load_installed_plugins();
        foreach ($this->installedplugins as $plugintype => $unused) {
            if (!isset($plugintypes[$plugintype])) {
                $this->pluginsinfo[$plugintype] = null;
            }
        }
    }
protected function init_pluginsinfo_property ( ) { if ( is_array ( $ this -> pluginsinfo ) ) { return ; } $ this -> pluginsinfo = array ( ) ; $ plugintypes = $ this -> get_plugin_types ( ) ; foreach ( $ plugintypes as $ plugintype => $ plugintyperootdir ) { $ this -> pluginsinfo [ $ plugintype ] = null ; } // Add orphaned subplugin types. $ this -> load_installed_plugins ( ) ; foreach ( $ this -> installedplugins as $ plugintype => $ unused ) { if ( ! isset ( $ plugintypes [ $ plugintype ] ) ) { $ this -> pluginsinfo [ $ plugintype ] = null ; } } }
Init placeholder array for plugin infos.
Init placeholder array for plugin infos .