API docs     >     Files     >     File

File->setFilename

Description

setFilename ( $filename )
Sets Filename of this File

Parameters

$filename
string
File name

Returns

bool
TRUE on success or FALSE in case of an error