silverstripe-framework/model/DataObjectDecorator.php
ajshort 3a1c2df4e7 API CHANGE: Renamed DataObjectDecorator to DataExtension.
API CHANGE: Renamed LeftAndMainDecorator to LeftAndMainExtension.
MINOR: Replaced all references to decorators with extension.
2011-04-26 11:01:38 +10:00

17 lines
339 B
PHP
Executable File

<?php
/**
* @package sapphire
* @subpackage model
* @deprecated 3.0 Use {@link DataExtension}.
*/
abstract class DataObjectDecorator extends DataExtension {
public function __construct() {
user_error(
'DataObjectDecorator is deprecated, please use DataExtension instead.',
E_USER_NOTICE
);
parent::__construct();
}
}