mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-09-06 01:31:09 +02:00
30 lines
465 B
PHP
30 lines
465 B
PHP
<?php
|
|
/**
|
|
* Plug-ins for additional functionality in your SiteTree classes.
|
|
*
|
|
* @package cms
|
|
* @subpackage model
|
|
*/
|
|
abstract class SiteTreeExtension extends DataExtension {
|
|
|
|
public function onBeforePublish(&$original) {
|
|
}
|
|
|
|
public function onAfterPublish(&$original) {
|
|
}
|
|
|
|
public function onBeforeUnpublish() {
|
|
}
|
|
|
|
public function onAfterUnpublish() {
|
|
}
|
|
|
|
public function canAddChildren($member) {
|
|
}
|
|
|
|
public function canPublish($member) {
|
|
|
|
}
|
|
|
|
}
|