MetaFox

UpdateRequest extends StoreRequest
in package

Class UpdateRequest.

Table of Contents

Methods

rules()  : array<string, mixed>
Get the validation rules that apply to the request.
validated()  : mixed
handleAlbumItems()  : array<int, array<string, mixed>>
handlePrivacy()  : array<string, mixed>

Methods

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([mixed $key = null ][, mixed $default = null ]) : mixed
Parameters
$key : mixed = null
$default : mixed = null
Tags
throws
AuthenticationException

handleAlbumItems()

protected handleAlbumItems(array<string, mixed> $items[, User|null $context = null ][, User|null $owner = null ]) : array<int, array<string, mixed>>
Parameters
$items : array<string, mixed>
$context : User|null = null
$owner : User|null = null
Return values
array<int, array<string, mixed>>

handlePrivacy()

protected handlePrivacy(array<string, mixed> $data) : array<string, mixed>
Parameters
$data : array<string, mixed>
Return values
array<string, mixed>

        
On this page

Search results