API docs     >     Files     >     Views

Views->copyGeneratedViewInfo

Description

copyGeneratedViewInfo ( $fromFileVersion, $toFileVersion, $sourceFileId = 0 )
Copies all generated View Infos from a File to another

Parameters

$fromFileVersion
int
File-Version to copy the Views from
$toFileVersion
int
File-Version to copy the Views to
$sourceFileId
int
(optional) File-Id of the source File

Returns

bool
TRUE on success or FALSE if an error has occured