SilverStripe\CMS\Tests\Model\SiteTreeTest_ExtensionA

Synopsis

class SiteTreeTest_ExtensionA extends SiteTreeExtension implements TestOnly {
}

Hierarchy

Extends

Implements

  • SilverStripe\Dev\TestOnly

Members

public

  • $can_publish

Methods

public

Inherited from SilverStripe\CMS\Model\SiteTreeExtension

public

  • canAddChildren() — Hook called to determine if a user may add children to this SiteTree object
  • canPublish() — Hook called to determine if a user may publish this SiteTree object
  • onAfterPublish() — Hook called after the page's {@link Versioned::publishSingle()} action is completed
  • onAfterUnpublish() — Hook called after the page's {@link SiteTree::doUnpublish()} action is completed
  • onBeforePublish() — Hook called before the page's {@link Versioned::publishSingle()} action is completed
  • onBeforeUnpublish() — Hook called before the page's {@link Versioned::doUnpublish()} action is completed