API docs     >     Files     >     File

File->setFileType

Description

setFileType ( $type )
Sets Filetype of this File

Parameters

$type
int
Filetype Id

Returns

bool
TRUE on success or FALSE in case of an error