public function setDefaultFilesourceId($filesourceId)
    {
        $ext = common_ext_ExtensionsManager::singleton()->getExtensionById('taoItems');
        $ext->setConfig(self::CONFIG_DEFAULT_FILESOURCE, $filesourceId);
    }
public function setDefaultFilesourceId($filesourceId)
    {
        $ext = common_ext_ExtensionsManager::singleton()->getExtensionById('taoItems');
        $ext->setConfig(self::CONFIG_DEFAULT_FILESOURCE, $filesourceId);
    }
public function setDefaultFilesourceId ( $ filesourceId ) { $ ext = common_ext_ExtensionsManager :: singleton ( ) -> getExtensionById ( 'taoItems' ) ; $ ext -> setConfig ( self :: CONFIG_DEFAULT_FILESOURCE , $ filesourceId ) ; }
sets the filesource to use for new items

@author Joel Bout, <joel@taotesting.com>
@param string $filesourceId
sets the filesource to use for new items