UserGenderRepository
        
        extends AbstractRepository
    
    
            
            in package
            
        
    
            
            implements
                            UserGenderRepositoryInterface                    
    
    
Class UserGenderRepository.
Tags
Table of Contents
Interfaces
- UserGenderRepositoryInterface
 - Interface UserGenderRepositoryInterface.
 
Properties
- $disableSponsor : mixed
 - $skipPresenter : mixed
 
Methods
- buildQueryScopes() : mixed
 - cleanContent() : string|null
 - cleanTitle() : string|null
 - createGender() : UserGender
 - createMany() : bool
 - deleteGender() : bool
 - findGenderByPhrase() : UserGender|null
 - getForForms() : array<int, array<string, mixed>>
 - getGenderOptions() : array<string|int, mixed>
 - getModel() : UserGender
 - getPhraseRepository() : PhraseRepositoryInterface
 - getSuggestion() : array<int, array<string, mixed>>
 - getUserContractMorphTypeColumns() : array<string|int, string>
 - hasSponsorView() : bool
 - isNoSponsorView() : bool
 - likeOperator() : string
 - return the case-insensitive LIKE operator bases on the current database driver.
 - model() : string
 - updateGender() : UserGender
 - viewAllGenders() : Collection
 - viewGenders() : Paginator
 - viewGendersForAdmin() : LengthAwarePaginator
 - where() : $this
 - withUserMorphTypeActiveScope() : self
 - buildQueryViewGendersAdmin() : Builder
 
Properties
$disableSponsor
    protected
        mixed
    $disableSponsor
    
    
    
    
$skipPresenter
    protected
        mixed
    $skipPresenter
     = true
    
    
    
Methods
buildQueryScopes()
    public
                    buildQueryScopes(mixed $query, mixed $model, mixed $criteria) : mixed
    Parameters
- $query : mixed
 - $model : mixed
 - $criteria : mixed
 
cleanContent()
    public
                    cleanContent(string|null $string) : string|null
    Parameters
- $string : string|null
 
Return values
string|nullcleanTitle()
    public
                    cleanTitle(string|null $string) : string|null
    Parameters
- $string : string|null
 
Return values
string|nullcreateGender()
    public
                    createGender(User $context, array<string|int, mixed> $attributes) : UserGender
    Parameters
- $context : User
 - $attributes : array<string|int, mixed>
 
Tags
Return values
UserGendercreateMany()
    public
                    createMany(array<string|int, mixed> $items) : bool
    Parameters
- $items : array<string|int, mixed>
 
Return values
booldeleteGender()
    public
                    deleteGender(User $context, int $id) : bool
    Parameters
- $context : User
 - $id : int
 
Tags
Return values
boolfindGenderByPhrase()
    public
                    findGenderByPhrase(string $phrase) : UserGender|null
    Parameters
- $phrase : string
 
Return values
UserGender|nullgetForForms()
    public
                    getForForms(User $context[, array<string|int, mixed>|null $where = null ]) : array<int, array<string, mixed>>
    Parameters
- $context : User
 - $where : array<string|int, mixed>|null = null
 
Tags
Return values
array<int, array<string, mixed>>getGenderOptions()
    public
                    getGenderOptions() : array<string|int, mixed>
    Return values
array<string|int, mixed>getModel()
    public
                    getModel() : UserGender
    Return values
UserGendergetPhraseRepository()
    public
                    getPhraseRepository() : PhraseRepositoryInterface
    Return values
PhraseRepositoryInterfacegetSuggestion()
    public
                    getSuggestion(array<string|int, mixed> $params) : array<int, array<string, mixed>>
    Parameters
- $params : array<string|int, mixed>
 
Tags
Return values
array<int, array<string, mixed>>getUserContractMorphTypeColumns()
    public
                    getUserContractMorphTypeColumns() : array<string|int, string>
    Return values
array<string|int, string>hasSponsorView()
    public
                    hasSponsorView(array<string|int, mixed> $attributes) : bool
    Parameters
- $attributes : array<string|int, mixed>
 
Return values
boolisNoSponsorView()
    public
                    isNoSponsorView(string|null $view) : bool
    Parameters
- $view : string|null
 
Return values
boollikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
    public
                    likeOperator() : string
    Return values
stringmodel()
    public
                    model() : string
    Return values
stringupdateGender()
    public
                    updateGender(User $context, int $id, array<string|int, mixed> $attributes) : UserGender
    Parameters
- $context : User
 - $id : int
 - $attributes : array<string|int, mixed>
 
Tags
Return values
UserGenderviewAllGenders()
    public
                    viewAllGenders([array<string|int, mixed> $ids = [] ]) : Collection
    Parameters
- $ids : array<string|int, mixed> = []
 
Return values
CollectionviewGenders()
    public
                    viewGenders(User $context, array<string|int, mixed> $attributes) : Paginator
    Parameters
- $context : User
 - $attributes : array<string|int, mixed>
 
Tags
Return values
PaginatorviewGendersForAdmin()
    public
                    viewGendersForAdmin(User $context, array<string|int, mixed> $attributes) : LengthAwarePaginator
    Parameters
- $context : User
 - $attributes : array<string|int, mixed>
 
Tags
Return values
LengthAwarePaginatorwhere()
    public
                    where(array<string|int, mixed> $params) : $this
    Parameters
- $params : array<string|int, mixed>
 
Tags
Return values
$thiswithUserMorphTypeActiveScope()
    public
                    withUserMorphTypeActiveScope() : self
    Return values
selfbuildQueryViewGendersAdmin()
    private
                    buildQueryViewGendersAdmin(array<string, mixed> $attributes) : Builder
    Parameters
- $attributes : array<string, mixed>