MetaFox

UserGenderRepositoryInterface
in

Interface UserGenderRepositoryInterface.

stub: /packages/repositories/interface.stub

Table of Contents

Methods

createGender()  : UserGender
deleteGender()  : bool
findGenderByPhrase()  : UserGender
getForForms()  : array<int, array<string, mixed>>
getGenderOptions()  : array<string|int, mixed>
getSuggestion()  : array<int, array<string, mixed>>
updateGender()  : UserGender
viewAllGenders()  : Collection
viewGenders()  : Paginator
viewGendersForAdmin()  : LengthAwarePaginator

Methods

getForForms()

public getForForms(User $context[, array<string, mixed>|null $where = null ]) : array<int, array<string, mixed>>
Parameters
$context : User
$where : array<string, mixed>|null = null
Return values
array<int, array<string, mixed>>

getSuggestion()

public getSuggestion(array<string, mixed> $params) : array<int, array<string, mixed>>
Parameters
$params : array<string, mixed>
Return values
array<int, array<string, mixed>>

viewAllGenders()

public viewAllGenders([array<string|int, mixed> $ids = [] ]) : Collection
Parameters
$ids : array<string|int, mixed> = []
Return values
Collection

viewGenders()

public viewGenders(User $context, array<string, mixed> $attributes) : Paginator
Parameters
$context : User
$attributes : array<string, mixed>
Return values
Paginator

viewGendersForAdmin()

public viewGendersForAdmin(User $context, array<string, mixed> $attributes) : LengthAwarePaginator
Parameters
$context : User
$attributes : array<string, mixed>
Return values
LengthAwarePaginator

        
On this page

Search results