class StoreReport extends FormRequest

Methods

array
rules()

Get the validation rules that apply to the request.

void
withValidator(Validator $validator)

Configure the validator instance.

array
getOptions()

Get the options for the new report.

bool
isType(array|int $allowed)

Check if the requested reporty type ID is in the supplied array.

bool
isAllowedForExportArea()

Check if export_area may be configured for the requested report type.

bool
isAllowedForAggregateChildLabels()

Check if aggregate_child_labels may be configured for the requested report type.

bool
isAllowedForStripIfdo()

Check if strip_ifdo may be configured for the requested report type.

Details

at line 15
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 36
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 61
array getOptions()

Get the options for the new report.

Return Value

array

at line 96
protected bool isType(array|int $allowed)

Check if the requested reporty type ID is in the supplied array.

Parameters

array|int $allowed

Return Value

bool

at line 112
protected bool isAllowedForExportArea()

Check if export_area may be configured for the requested report type.

Return Value

bool

at line 129
protected bool isAllowedForAggregateChildLabels()

Check if aggregate_child_labels may be configured for the requested report type.

Return Value

bool

at line 141
protected bool isAllowedForStripIfdo()

Check if strip_ifdo may be configured for the requested report type.

Return Value

bool