public static function get_plugin_list($plugintype) {
        self::init();

        if (!isset(self::$plugins[$plugintype])) {
            return array();
        }
        return self::$plugins[$plugintype];
    }
public static function get_plugin_list($plugintype) {
        self::init();

        if (!isset(self::$plugins[$plugintype])) {
            return array();
        }
        return self::$plugins[$plugintype];
    }
public static function get_plugin_list ( $ plugintype ) { self :: init ( ) ; if ( ! isset ( self :: $ plugins [ $ plugintype ] ) ) { return array ( ) ; } return self :: $ plugins [ $ plugintype ] ; }
Get list of plugins of given type.

@param string $plugintype
@return array as (string)pluginname => (string)fulldir
Get list of plugins of given type .