\StaticSiteContentItem
Deals-to transforming imported SiteTree and File objects
- Author: Sam Minee <sam@silverstripe.com>
Synopsis
class StaticSiteContentItem
extends ExternalContentItem
{
- // members
- private string $default_content_type = 'sitetree';
- // methods
- public void init()
- public ArrayList stageChildren()
- public number numChildren()
- public mixed getType()
- public ExternalContentTransformer getTransformer()
- public FieldList getCMSFields()
- public boolean checkIsType()
Hierarchy
Extends
- ExternalContentItem
Members
private
- $default_content_type
—
mixed
Default Content type, either 'sitetree', 'file' or false to disable the default
Methods
public
- checkIsType() — Performs some checks on $item. If it is of the wrong type, returns false
- getCMSFields()
- getTransformer() — Returns the correct content-object transformation class.
- getType() — Returns the correct SS base class-type based on the curent URL's Mime-Type and directs the module to use the correct StaticSiteXXXTransformer class.
- init()
- numChildren()
- stageChildren()