API docs     >     Files     >     File

File->setPName

Description

setPName ( $pname )
Sets the permanent name of this File

Parameters

$pname
string
Permanent name

Returns

bool
TRUE on success or FALSE in case of an error