SavedListItemViewRepository
extends AbstractRepository
in package
implements
SavedListItemViewRepositoryInterface
Class SavedListItemViewRepository.
Table of Contents
Interfaces
- SavedListItemViewRepositoryInterface
- Interface SavedListItemView.
Properties
- $disableSponsor : mixed
- $skipPresenter : mixed
Methods
- buildQueryScopes() : mixed
- cleanContent() : string|null
- cleanTitle() : string|null
- createMany() : bool
- find() : SavedListItemView
- getModel() : SavedListItemView
- getUserContractMorphTypeColumns() : array<string|int, string>
- hasSponsorView() : bool
- isExists() : bool
- isNoSponsorView() : bool
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- markAsOpened() : Saved
- markAsUnOpened() : Saved
- model() : mixed
- where() : $this
- withUserMorphTypeActiveScope() : self
- savedListRepository() : SavedListRepositoryInterface
- savedRepository() : SavedRepositoryInterface
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
boolfind()
public
find(mixed $id, mixed $columns) : SavedListItemView
Parameters
- $id : mixed
- $columns : mixed
Return values
SavedListItemViewgetModel()
public
getModel() : SavedListItemView
Return values
SavedListItemViewgetUserContractMorphTypeColumns()
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
boolisExists()
public
isExists(User $context, array<string|int, mixed> $attributes) : bool
Parameters
- $context : User
- $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
stringmarkAsOpened()
public
markAsOpened(User $context, array<string|int, mixed> $attributes) : Saved
Parameters
- $context : User
- $attributes : array<string|int, mixed>
Tags
Return values
SavedmarkAsUnOpened()
public
markAsUnOpened(User $context, array<string|int, mixed> $attributes) : Saved
Parameters
- $context : User
- $attributes : array<string|int, mixed>
Tags
Return values
Savedmodel()
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
Return values
selfsavedListRepository()
protected
savedListRepository() : SavedListRepositoryInterface
Return values
SavedListRepositoryInterfacesavedRepository()
protected
savedRepository() : SavedRepositoryInterface