class MediaRequest extends Request (View source)

Methods

bool
authorize()

Determines if the user is authorized to make this request.

from  Request
array
rulesForCreate()

No description

from  Request
array
rulesForUpdate()

No description

from  Request
array
rules()

Gets the validation rules that apply to the request.

array
rulesForTranslatedFields(array $existingRules, array $translatedFieldRules)

No description

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

No description

Return Value

array

array rulesForUpdate()

No description

Return Value

array

array rules()

Gets the validation rules that apply to the request.

Return Value

array

protected array rulesForTranslatedFields(array $existingRules, array $translatedFieldRules)

No description

Parameters

array $existingRules
array $translatedFieldRules

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