| Total Complexity | 7 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class StaticPublishingTriggerPage extends SiteTree implements TestOnly, StaticPublishingTrigger |
||
| 11 | { |
||
| 12 | private static $table_name = 'SPQ_StaticPublishingTriggerPage'; |
||
|
|
|||
| 13 | |||
| 14 | public function generatePublishable($url, $prio) |
||
| 21 | } |
||
| 22 | |||
| 23 | public function objectsToUpdate($context) |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Remove the object on unpublishing (the parent will get updated via objectsToUpdate). |
||
| 35 | */ |
||
| 36 | public function objectsToDelete($context) |
||
| 46 |