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
isAllowedForSkipAttributes()

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

bool
isAllowedForAggregateChildLabels()

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

bool
isAllowedForAllLabels()

Check if all_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 38
void withValidator(Validator $validator)

Configure the validator instance.

Parameters

Validator $validator

Return Value

void

at line 68
array getOptions()

Get the options for the new report.

Return Value

array

at line 111
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 127
protected bool isAllowedForExportArea()

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

Return Value

bool

at line 144
protected bool isAllowedForSkipAttributes()

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

Return Value

bool

at line 157
protected bool isAllowedForAggregateChildLabels()

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

Return Value

bool

at line 169
protected bool isAllowedForAllLabels()

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

Return Value

bool

at line 181
protected bool isAllowedForStripIfdo()

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

Return Value

bool