public function setUriProvider(UriProvider $provider)
    {
        $this->uriProvider = $provider; 
        common_ext_ExtensionsManager::singleton()->getExtensionById('generis')->setConfig(self::CONFIG_KEY, $provider);
    }