Merge branch '5.1' into 5

This commit is contained in:
github-actions 2023-12-17 11:32:08 +00:00
commit 0268a30530
4 changed files with 12 additions and 3 deletions

View File

@ -20,6 +20,8 @@ use SilverStripe\Security\Permission;
* review setting. * review setting.
* *
* @property int $ReviewPeriodDays * @property int $ReviewPeriodDays
* @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
* @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
*/ */
class ContentReviewDefaultSettings extends DataExtension class ContentReviewDefaultSettings extends DataExtension
{ {

View File

@ -6,6 +6,9 @@ use SilverStripe\CMS\Model\SiteTree;
use SilverStripe\Forms\FieldList; use SilverStripe\Forms\FieldList;
use SilverStripe\ORM\DataExtension; use SilverStripe\ORM\DataExtension;
/**
* @method SilverStripe\ORM\ManyManyList<SiteTree> SiteTreeContentReview()
*/
class ContentReviewOwner extends DataExtension class ContentReviewOwner extends DataExtension
{ {
/** /**

View File

@ -50,9 +50,9 @@ use Symbiote\QueuedJobs\Services\QueuedJobService;
* @property string $LastEditedByName * @property string $LastEditedByName
* @property string $OwnerNames * @property string $OwnerNames
* *
* @method DataList ReviewLogs() * @method SilverStripe\ORM\ManyManyList<Group> ContentReviewGroups()
* @method DataList ContentReviewGroups() * @method SilverStripe\ORM\ManyManyList<Member> ContentReviewUsers()
* @method DataList ContentReviewUsers() * @method SilverStripe\ORM\HasManyList<ContentReviewLog> ReviewLogs()
*/ */
class SiteTreeContentReview extends DataExtension implements PermissionProvider class SiteTreeContentReview extends DataExtension implements PermissionProvider
{ {

View File

@ -7,6 +7,10 @@ use SilverStripe\ORM\DataObject;
use SilverStripe\Security\Member; use SilverStripe\Security\Member;
use SilverStripe\Security\Security; use SilverStripe\Security\Security;
/**
* @method Member Reviewer()
* @method SiteTree SiteTree()
*/
class ContentReviewLog extends DataObject class ContentReviewLog extends DataObject
{ {
/** /**