Developers

Review

A Review model is created for each submission to record the state of editors, reviewers and publishers.

Properties

id

Type: int|null

The ID of the review.

submission

Type: verbb\workflow\elements\Submission|null

The submission this review is related to.

submissionId

Type: int|null

The ID of the submission this review is related to.

element

Type: craft\base\ElementInterface|null

The Entry (opens new window) this submission was made on.

elementId

Type: int|null

The ID of the Entry (opens new window) this submission was made on.

draftId

Type: int|null

The ID for the Entry Draft (opens new window) this submission was made on (if any).

user

Type: craft\elements\User|null

The User (opens new window) this review is related to.

userId

Type: int|null

The ID of the User (opens new window) this review is related to.

role

Type: string|null

The Workflow "role" for this user. One of editor, reviewer, publisher.

status

Type: string|null

The status of the review. One of approved, pending, revoked, rejected.

notes

Type: string|null

Any notes left by the user.

dateCreated

Type: DateTime|null

The date this review was created.