API docs     >     Extensions     >     FileExtension

FileExtension->usedByFile

Description

usedByFile ( $fileID, $version )
Checks if this Extension is used by the specified File

Parameters

$fileID
string
File Id
$version
string
File version

Returns

bool
TRUE if the Extension is used by the File or FALSE in case of an error