class FileRequest extends Request (View source)

Methods

bool
authorize()

Determines if the user is authorized to make this request.

from  Request
array
rules()

Gets the validation rules that apply to the request.

array
rulesForTranslatedFields($rules, $fields)

Gets the validation rules that apply to the translated fields.

from  Request
array
messagesForTranslatedFields(array $messages, array $fields)

Gets the error messages for the defined validation rules.

from  Request

Details

bool authorize()

Determines if the user is authorized to make this request.

Return Value

bool

array rules()

Gets the validation rules that apply to the request.

Return Value

array

protected array rulesForTranslatedFields($rules, $fields)

Gets the validation rules that apply to the translated fields.

Parameters

$rules
$fields

Return Value

array

protected array messagesForTranslatedFields(array $messages, array $fields)

Gets the error messages for the defined validation rules.

Parameters

array $messages
array $fields

Return Value

array