UserRequest
class UserRequest extends Request (View source)
Methods
bool
authorize()
Determines if the user is authorized to make this 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.
array
rulesForCreate()
No description
array
rulesForUpdate()
No description
array
rules()
Gets the validation rules that apply to the request.
protected array
rulesForTranslatedFields(array $existingRules, array $translatedFieldRules)
No description
protected array
messagesForTranslatedFields(array $messages, array $fields)
Gets the error messages for the defined validation rules.