Class SiteTreeSubsites
Extension for the SiteTree object to add subsites support
- Extension
-
DataObjectDecorator
-
SiteTreeDecorator
-
SiteTreeSubsites
Methods summary
public static
|
#
set_template_fields( mixed $fieldList )
Set the fields that will be copied from the template. Note that ParentID and Sort are implied. |
public static
|
|
public
array
|
|
public
|
|
public
|
|
public
|
#
nextWriteDoesntCustomise( )
Call this method before writing; the next write carried out by the system won't set the CustomContent value |
public
|
|
public
|
|
public
|
|
public
|
#
updateCMSFields(
This function is used to provide modifications to the form in the CMS by the decorator. By default, no changes are made. DataObject->getCMSFields(). |
public
|
|
public
|
|
public
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
boolean
|
|
public
|
#
duplicateToSubsite( mixed $subsiteID = null, mixed $isTemplate = true )
Create a duplicate of this page and save it to another subsite |
public static
|
|
public static
|
|
public
|
|
public
|
|
public
|
Methods inherited from SiteTreeDecorator
onAfterUnpublish(),
onBeforePublish(),
onBeforeUnpublish()
Methods inherited from DataObjectDecorator
augmentDatabase(),
augmentWrite(),
can(),
canCreate(),
flushCache(),
load_extra_statics(),
onAfterDelete(),
onBeforeDelete(),
populateDefaults(),
requireDefaultRecords(),
updateCMSActions(),
updateFieldLabels(),
updateFrontEndFields(),
updateSummaryFields()
Methods inherited from Extension
__construct(),
clearOwner(),
getOwner(),
get_classname_without_arguments(),
setOwner()
Magic methods summary
Properties summary
public static
array
|
$template_variables | |
public static
array
|
$template_fields | |
protected
boolean
|
$nextWriteDoesntCustomise |