public function get_installed_plugins($type) {
        $this->load_installed_plugins();
        if (isset($this->installedplugins[$type])) {
            return $this->installedplugins[$type];
        }
        return array();
    }
public function get_installed_plugins($type) {
        $this->load_installed_plugins();
        if (isset($this->installedplugins[$type])) {
            return $this->installedplugins[$type];
        }
        return array();
    }
public function get_installed_plugins ( $ type ) { $ this -> load_installed_plugins ( ) ; if ( isset ( $ this -> installedplugins [ $ type ] ) ) { return $ this -> installedplugins [ $ type ] ; } return array ( ) ; }
Return list of installed plugins of given type.
@param string $type
@return array $name=>$version
Return list of installed plugins of given type .