Source of file StaticPublishingTrigger.php
Size: 0,775 Bytes - Last Modified: 2021-12-23T10:34:48+00:00
/var/www/docs.ssmods.com/process/src/src/Contract/StaticPublishingTrigger.php
123456789101112131415161718192021222324252627282930 | <?php namespace SilverStripe\StaticPublishQueue\Contract; use SilverStripe\ORM\SS_List; /** * Describes an object that may wish to trigger updates in other objects as a result of it's own update. */ interface StaticPublishingTrigger { /** * Provides an SS_List of StaticallyPublishable objects which need to be regenerated. * * @param array $context An associative array with extra engine-specific information. * * @return SS_List */ public function objectsToUpdate($context); /** * Provides a SS_list of objects that need to be deleted. * * @param array $context An associative array with extra engine-specific information. * * @return SS_List */ public function objectsToDelete($context); } |