public static function getLangResourceByCode($code)
    {
        $langs = self::getAvailableLangs();
        return isset($langs[$code]) ? new core_kernel_classes_Resource($langs[$code]['uri']) : null; 
    }
public static function getLangResourceByCode($code)
    {
        $langs = self::getAvailableLangs();
        return isset($langs[$code]) ? new core_kernel_classes_Resource($langs[$code]['uri']) : null; 
    }
public static function getLangResourceByCode ( $ code ) { $ langs = self :: getAvailableLangs ( ) ; return isset ( $ langs [ $ code ] ) ? new core_kernel_classes_Resource ( $ langs [ $ code ] [ 'uri' ] ) : null ; }
Returns the code of a resource

@access public
@author Jerome Bogaerts, <jerome.bogaerts@tudor.lu>
@param  string code
@return core_kernel_classes_Resource
Returns the code of a resource