mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
31 lines
432 B
PHP
31 lines
432 B
PHP
<?php
|
|
/**
|
|
* Plug-ins for additional functionality in your SiteTree classes.
|
|
*
|
|
* @package cms
|
|
* @subpackage model
|
|
*/
|
|
abstract class SiteTreeDecorator extends DataObjectDecorator {
|
|
|
|
function onBeforePublish(&$original) {
|
|
}
|
|
|
|
function onAfterPublish(&$original) {
|
|
}
|
|
|
|
function onBeforeUnpublish() {
|
|
}
|
|
|
|
function onAfterUnpublish() {
|
|
}
|
|
|
|
function canAddChildren($member) {
|
|
}
|
|
|
|
function canPublish($member) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|