StoreLargoSession
class StoreLargoSession extends FormRequest
Properties
bool | $force | The force request attribute. |
|
array | $dismissedImageAnnotations | The dismissed_image_annotations request attribute. |
|
array | $changedImageAnnotations | The changed_image_annotations request attribute. |
|
array | $dismissedVideoAnnotations | The dismissed_video_annotations request attribute. |
|
array | $changedVideoAnnotations | The changed_video_annotations request attribute. |
|
bool | $emptyRequest | Specifies whether the request is empty. |
Methods
Determine if the user is authorized to make this request.
Get the validation rules that apply to the request.
Get a list of unique annotation IDs that are either dismissed or changed.
Check if all given image annotations belong to the given volumes.
Check if all given video annotations belong to the given volumes.
Returns the IDs of all label trees that must be available to apply the changes.
Details
at line 59
bool
authorize()
Determine if the user is authorized to make this request.
at line 73
array
rules()
Get the validation rules that apply to the request.
at line 92
protected array
getAffectedAnnotations(array $dismissed, array $changed)
Get a list of unique annotation IDs that are either dismissed or changed.
at line 113
protected bool
imageAnotationsBelongToVolumes(array $annotations, array $volumes)
Check if all given image annotations belong to the given volumes.
at line 129
protected bool
videoAnotationsBelongToVolumes(array $annotations, array $volumes)
Check if all given video annotations belong to the given volumes.
at line 144
protected array
getRequiredLabelTrees(array $changed)
Returns the IDs of all label trees that must be available to apply the changes.