StoreProjectReport
class StoreProjectReport extends StoreReport
Properties
Project | $project | The project to generate a new report for. |
Methods
Get the validation rules that apply to the request.
Configure the validator instance.
Check if the requested reporty type ID is in the supplied array.
Check if export_area may be configured for the requested report type.
Check if aggregate_child_labels may be configured for the requested report type.
Check if strip_ifdo may be configured for the requested report type.
Determine if the user is authorized to make this request.
Validate the report types.
Validate the geo info for certain types.
Validate image metadata for certain types.
Check if some volumes have iFDO files (if an iFDO report is requested).
Details
at line 37
array
rules()
Get the validation rules that apply to the request.
at line 50
void
withValidator(Validator $validator)
Configure the validator instance.
in
StoreReport at line 64
array
getOptions()
Get the options for the new report.
in
StoreReport at line 99
protected bool
isType(array|int $allowed)
Check if the requested reporty type ID is in the supplied array.
in
StoreReport at line 115
protected bool
isAllowedForExportArea()
Check if export_area may be configured for the requested report type.
in
StoreReport at line 132
protected bool
isAllowedForAggregateChildLabels()
Check if aggregate_child_labels may be configured for the requested report type.
in
StoreReport at line 144
protected bool
isAllowedForStripIfdo()
Check if strip_ifdo may be configured for the requested report type.
at line 25
bool
authorize()
Determine if the user is authorized to make this request.
at line 67
protected
validateReportType(Validator $validator)
Validate the report types.
at line 103
protected
validateGeoInfo(Validator $validator)
Validate the geo info for certain types.
at line 130
protected
validateImageMetadata(Validator $validator)
Validate image metadata for certain types.
at line 161
protected
validateIfdos(Validator $validator)
Check if some volumes have iFDO files (if an iFDO report is requested).