FriendTagBlockedRepository
extends AbstractRepository
in package
implements
FriendTagBlockedRepositoryInterface
Uses
UserMorphTrait
Class FriendTagBlockedRepository.
Table of Contents
Interfaces
- FriendTagBlockedRepositoryInterface
- Interface FriendTagBlocked.
Properties
- $disableSponsor : mixed
- $skipPresenter : mixed
Methods
- buildQueryScopes() : mixed
- cleanContent() : string|null
- cleanTitle() : string|null
- createMany() : bool
- createTagBlocked() : bool
- deleteOwnerData() : void
- deleteUserData() : void
- find() : FriendTagBlocked
- getModel() : FriendTagBlocked
- getUserContractMorphTypeColumns() : array<string|int, string>
- hasSponsorView() : bool
- isBlocked() : bool
- isNoSponsorView() : bool
- lazyDeleteWhere() : void
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- model() : mixed
- where() : $this
- withUserMorphTypeActiveScope() : self
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|nullcreateMany()
public
createMany(array<string|int, mixed> $items) : bool
Parameters
- $items : array<string|int, mixed>
Return values
boolcreateTagBlocked()
public
createTagBlocked(TagFriend $tagFriend) : bool
Parameters
- $tagFriend : TagFriend
Return values
booldeleteOwnerData()
public
deleteOwnerData(User $user) : void
Parameters
- $user : User
deleteUserData()
public
deleteUserData(User $user) : void
Parameters
- $user : User
find()
public
find(mixed $id, mixed $columns) : FriendTagBlocked
Parameters
- $id : mixed
- $columns : mixed
Return values
FriendTagBlockedgetModel()
public
getModel() : FriendTagBlocked
Return values
FriendTagBlockedgetUserContractMorphTypeColumns()
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
boolisBlocked()
public
isBlocked(int $ownerId, HasTaggedFriend $item) : bool
Parameters
- $ownerId : int
- $item : HasTaggedFriend
Tags
Return values
boolisNoSponsorView()
public
isNoSponsorView(string|null $view) : bool
Parameters
- $view : string|null
Return values
boollazyDeleteWhere()
public
lazyDeleteWhere([array<string|int, mixed> $where = [] ]) : void
Parameters
- $where : array<string|int, mixed> = []
likeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringmodel()
public
model() : mixed
where()
public
where(array<string|int, mixed> $params) : $this
Parameters
- $params : array<string|int, mixed>
Tags
Return values
$thiswithUserMorphTypeActiveScope()
public
withUserMorphTypeActiveScope() : self