API docs     >     Pages and Sites     >     Page

Page->copyFrom

Description

copyFrom ( $sourcePage )

Reimplemented from

Versionable
Copies Properties, Extensions, Permissions, Tags, assigned and embedded Cblocks from another Page into a new version of this Page

Parameters

$sourcePage
object
Source Page object

Returns

bool
TRUE on success or FALSE in case of an error