mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
Merge pull request #217 from creative-commoners/pulls/5.1/docblock
MNT Update @methods on class docblocks
This commit is contained in:
commit
84edeab427
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
|
@ -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
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user