2011-04-15 11:37:15 +02:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Plug-ins for additional functionality in your SiteTree classes.
|
|
|
|
*
|
|
|
|
* @package cms
|
|
|
|
* @subpackage model
|
|
|
|
*/
|
|
|
|
abstract class SiteTreeExtension extends DataExtension {
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function onBeforePublish(&$original) {
|
2011-04-15 11:37:15 +02:00
|
|
|
}
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function onAfterPublish(&$original) {
|
2011-04-15 11:37:15 +02:00
|
|
|
}
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function onBeforeUnpublish() {
|
2011-04-15 11:37:15 +02:00
|
|
|
}
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function onAfterUnpublish() {
|
2011-04-15 11:37:15 +02:00
|
|
|
}
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function canAddChildren($member) {
|
2011-04-15 11:37:15 +02:00
|
|
|
}
|
|
|
|
|
2012-09-19 12:07:46 +02:00
|
|
|
public function canPublish($member) {
|
2011-04-15 11:37:15 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2012-04-12 09:23:20 +02:00
|
|
|
}
|