Lines Matching refs:resourceType
28 function GetResourceTypePath( $resourceType, $sCommand ) argument
33 return $Config['QuickUploadPath'][$resourceType] ;
35 return $Config['FileTypesPath'][$resourceType] ;
38 function GetResourceTypeDirectory( $resourceType, $sCommand ) argument
43 if ( strlen( $Config['QuickUploadAbsolutePath'][$resourceType] ) > 0 )
44 return $Config['QuickUploadAbsolutePath'][$resourceType] ;
47 return Server_MapPath( $Config['QuickUploadPath'][$resourceType] ) ;
51 if ( strlen( $Config['FileTypesAbsolutePath'][$resourceType] ) > 0 )
52 return $Config['FileTypesAbsolutePath'][$resourceType] ;
55 return Server_MapPath( $Config['FileTypesPath'][$resourceType] ) ;
59 function GetUrlFromPath( $resourceType, $folderPath, $sCommand ) argument
61 return CombinePaths( GetResourceTypePath( $resourceType, $sCommand ), $folderPath ) ;
69 function ServerMapFolder( $resourceType, $folderPath, $sCommand ) argument
72 $sResourceTypePath = GetResourceTypeDirectory( $resourceType, $sCommand ) ;
176 function IsAllowedExt( $sExtension, $resourceType ) argument
180 $arAllowed = $Config['AllowedExtensions'][$resourceType] ;
181 $arDenied = $Config['DeniedExtensions'][$resourceType] ;
192 function IsAllowedType( $resourceType ) argument
195 if ( !in_array( $resourceType, $Config['ConfigAllowedTypes'] ) )