SilverStripe\VersionFeed\VersionFeed
Synopsis
class VersionFeed
extends SiteTreeExtension
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static bool $allchanges_enabled = true;
- private static integer $allchanges_limit = 20;
- private static bool $changes_enabled = true;
- private static integer $changes_limit = 100;
- // methods
- public void updateFieldLabels()
- public void getDiffList()
- public DataObject|null getDiff()
- public void getDiffedChanges()
- public void updateSettingsFields()
- public void getSiteRSSLink()
- public void getDefaultRSSLink()
Hierarchy
Extends
- SilverStripe\CMS\Model\SiteTreeExtension
Tasks
Line | Task |
---|---|
225 | This link should be from the homepage, not this page. |
Members
private
- $allchanges_enabled
—
SilverStripe\VersionFeed\bool
Enable the allchanges feed - $allchanges_limit
—
int
Allchanges feed limit of items. - $changes_enabled
—
SilverStripe\VersionFeed\bool
Enables RSS feed for page-specific changes - $changes_limit
—
int
Changes feed limit of items. - $db
- $defaults
Methods
public
- getDefaultRSSLink()
- getDiff() — Return a single diff representing this version.
- getDiffList() — Compile a list of changes to the current page, excluding non-published and explicitly secured versions.
- getDiffedChanges() — Compile a list of changes to the current page, excluding non-published and explicitly secured versions.
- getSiteRSSLink()
- updateFieldLabels()
- updateSettingsFields()