API docs     >     Files     >     File

File->newVersion

Description

newVersion ( )

Reimplemented from

Versionable
Generates a new version of this File by copying the currently instanced version and updates the currently instanced Object to the new version

Returns

int|false
New version of this File or FALSE in case of an error