public function get_enabled_plugins($type) {
        $this->load_enabled_plugins();
        if (isset($this->enabledplugins[$type])) {
            return $this->enabledplugins[$type];
        }
        return null;
    }
public function get_enabled_plugins($type) {
        $this->load_enabled_plugins();
        if (isset($this->enabledplugins[$type])) {
            return $this->enabledplugins[$type];
        }
        return null;
    }
public function get_enabled_plugins ( $ type ) { $ this -> load_enabled_plugins ( ) ; if ( isset ( $ this -> enabledplugins [ $ type ] ) ) { return $ this -> enabledplugins [ $ type ] ; } return null ; }
Get list of enabled plugins of given type,
the result may contain missing plugins.

@param string $type
@return array|null  list of enabled plugins of this type, null if unknown
Get list of enabled plugins of given type the result may contain missing plugins .