MediaRequest
class MediaRequest extends Request (View source)
Methods
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.
array
rules()
Gets the validation rules that apply to the request.
protected array
rulesForTranslatedFields($rules, $fields)
Gets the validation rules that apply to the translated fields.
protected array
messagesForTranslatedFields(array $messages, array $fields)
Gets the error messages for the defined validation rules.