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 18
array rules()

Get the validation rules that apply to the request.

Return Value

array

at line 39
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 64
array getOptions()

Get the options for the new report.

Return Value

array

at line 99
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 115
protected bool isAllowedForExportArea()

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

Return Value

bool

at line 132
protected bool isAllowedForAggregateChildLabels()

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

Return Value

bool

at line 144
protected bool isAllowedForStripIfdo()

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

Return Value

bool