mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
31 lines
356 B
PHP
31 lines
356 B
PHP
|
<?php
|
||
|
|
||
|
class ContentReviewLog extends DataObject {
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
private static $db = array(
|
||
|
'Note' => 'Text'
|
||
|
);
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
private static $has_one = array(
|
||
|
'Reviewer' => 'Member',
|
||
|
'SiteTree' => 'SiteTree'
|
||
|
);
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
private static $summary_fields = array(
|
||
|
'Note',
|
||
|
'Created'
|
||
|
);
|
||
|
}
|