Source of file StaticallyPublishablePage.php
Size: 0,579 Bytes - Last Modified: 2021-12-23T10:34:48+00:00
/var/www/docs.ssmods.com/process/src/tests/php/SiteTreePublishingEngineTest/Model/StaticallyPublishablePage.php
123456789101112131415161718192021222324252627 | <?php namespace SilverStripe\StaticPublishQueue\Test\SiteTreePublishingEngineTest\Model; use SilverStripe\CMS\Model\SiteTree; use SilverStripe\Dev\TestOnly; use SilverStripe\StaticPublishQueue\Contract\StaticallyPublishable; class StaticallyPublishablePage extends SiteTree implements TestOnly, StaticallyPublishable { private static $table_name = 'SPQ_StaticallyPublishablePage'; public $url; public $prio; public function getID() { return '1'; } public function urlsToCache() { return [$this->url => $this->prio]; } } |