API docs     >     Files     >     File

File->copyViewsFrom

Description

copyViewsFrom ( $sourceObject )
Copies Views from another File to this File

Parameters

$sourceObject
object
Source File object

Returns

bool
TRUE on success or FALSE in case of an error