MetaFox

UpdateRequest extends UpdateRequest
in package

Class UpdateRequest.

Table of Contents

Properties

$passwordRule  : MetaFoxPasswordFormatRule

Methods

getPasswordRule()  : MetaFoxPasswordFormatRule
messages()  : array<string, string>
rules()  : array<string, mixed>
Get the validation rules that apply to the request.
setPasswordRule()  : void
validated()  : array<string, mixed>
handleGender()  : mixed
handleProfileFields()  : void
transformCityCode()  : void
transformCountryState()  : void

Properties

Methods

messages()

public messages() : array<string, string>
Return values
array<string, string>

rules()

Get the validation rules that apply to the request.

public rules() : array<string, mixed>
Tags
throws
AuthenticationException
Return values
array<string, mixed>

validated()

public validated([string $key = null ][, mixed $default = null ]) : array<string, mixed>
Parameters
$key : string = null
$default : mixed = null
Return values
array<string, mixed>

handleGender()

protected handleGender(array<string|int, mixed> &$data) : mixed
Parameters
$data : array<string|int, mixed>

handleProfileFields()

protected handleProfileFields(array<string|int, mixed> &$data) : void
Parameters
$data : array<string|int, mixed>

transformCityCode()

protected transformCityCode(array<string, mixed> &$data) : void
Parameters
$data : array<string, mixed>

transformCountryState()

protected transformCountryState(array<string|int, mixed> &$data) : void
Parameters
$data : array<string|int, mixed>

        
On this page

Search results