Lines Matching refs:resourceType
30 function GetResourceTypePath( $resourceType, $sCommand ) argument
35 return $Config['QuickUploadPath'][$resourceType] ;
37 return $Config['FileTypesPath'][$resourceType] ;
40 function GetResourceTypeDirectory( $resourceType, $sCommand ) argument
45 if ( strlen( $Config['QuickUploadAbsolutePath'][$resourceType] ) > 0 )
46 return $Config['QuickUploadAbsolutePath'][$resourceType] ;
49 return Server_MapPath( $Config['QuickUploadPath'][$resourceType] ) ;
53 if ( strlen( $Config['FileTypesAbsolutePath'][$resourceType] ) > 0 )
54 return $Config['FileTypesAbsolutePath'][$resourceType] ;
57 return Server_MapPath( $Config['FileTypesPath'][$resourceType] ) ;
61 function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) argument
63 return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ;
71 function ServerMapFolder( $resourceType, $folderPath, $sCommand ) argument
74 $sResourceTypePath = GetResourceTypeDirectory( $resourceType, $sCommand ) ;
194 function IsAllowedExt( $sExtension, $resourceType ) argument
198 $arAllowed = $Config['AllowedExtensions'][$resourceType] ;
199 $arDenied = $Config['DeniedExtensions'][$resourceType] ;
210 function IsAllowedType( $resourceType ) argument
213 if ( !in_array( $resourceType, $Config['ConfigAllowedTypes'] ) )