SilverStripe\StaticPublishQueue\Extension\Publishable\PublishableSiteTree
Bare-bones implementation of a publishable page.
You can override this either by implementing one of the interfaces the class directly, or by applying
an extension via the config system ordering (inject your extension "before" the PublishableSiteTree).
Synopsis
class PublishableSiteTree
extends DataExtension
implements
StaticallyPublishable,StaticPublishingTrigger
{
- // methods
- public void getMyVirtualPages()
- public array objectsToUpdate()
- public array objectsToDelete()
- public void urlsToCache()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Implements
Tasks
Line | Task |
---|---|
21+ | : re-implement optional publishing of all the ancestors up to the root? Currently it only republishes the parent |
Methods
public
- getMyVirtualPages()
- objectsToDelete()
- objectsToUpdate()
- urlsToCache() — The only URL belonging to this object is it's own URL.