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 report type ID is in the supplied array.
Check if export_area may be configured for the requested report type.
Check if skip_attributes may be configured for the requested report type.
Check if aggregate_child_labels may be configured for the requested report type.
Check if all_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 68
array
getOptions()
Get the options for the new report.
in
StoreReport at line 111
protected bool
isType(ReportType[]|ReportType $allowed)
Check if the requested report type ID is in the supplied array.
in
StoreReport at line 127
protected bool
isAllowedForExportArea()
Check if export_area may be configured for the requested report type.
in
StoreReport at line 144
protected bool
isAllowedForSkipAttributes()
Check if skip_attributes may be configured for the requested report type.
in
StoreReport at line 157
protected bool
isAllowedForAggregateChildLabels()
Check if aggregate_child_labels may be configured for the requested report type.
in
StoreReport at line 169
protected bool
isAllowedForAllLabels()
Check if all_labels may be configured for the requested report type.
in
StoreReport at line 181
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 128
protected
validateImageMetadata(Validator $validator)
Validate image metadata for certain types.
at line 159
protected
validateIfdos(Validator $validator)
Check if some volumes have iFDO files (if an iFDO report is requested).