MetaFox

UserBanRepository extends AbstractRepository
in package
implements UserBanRepositoryInterface

Class UserBanRepository.

Table of Contents

Interfaces

UserBanRepositoryInterface
Interface UserBanRepositoryInterface.

Properties

$model  : UserBan
$disableSponsor  : mixed
$skipPresenter  : mixed

Methods

buildQueryScopes()  : mixed
cleanContent()  : string|null
cleanTitle()  : string|null
createMany()  : bool
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
Specify Model class name.
updateAlternativeRoleId()  : bool
where()  : $this
withUserMorphTypeActiveScope()  : self

Properties

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|null

cleanTitle()

public cleanTitle(string|null $string) : string|null
Parameters
$string : string|null
Return values
string|null

createMany()

public createMany(array<string|int, mixed> $items) : bool
Parameters
$items : array<string|int, mixed>
Return values
bool

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
bool

isNoSponsorView()

public isNoSponsorView(string|null $view) : bool
Parameters
$view : string|null
Return values
bool

likeOperator()

return the case-insensitive LIKE operator bases on the current database driver.

public likeOperator() : string
Return values
string

model()

Specify Model class name.

public model() : string
Return values
string

updateAlternativeRoleId()

public updateAlternativeRoleId(int $oldRoleId, int $alternativeRoleId) : bool
Parameters
$oldRoleId : int
$alternativeRoleId : int
Return values
bool

where()

public where(array<string|int, mixed> $params) : $this
Parameters
$params : array<string|int, mixed>
Tags
throws
RepositoryException
Return values
$this

withUserMorphTypeActiveScope()

public withUserMorphTypeActiveScope() : self
Return values
self

        
On this page

Search results