OpenStatusScope
extends BaseScope
in package
Class BaseScope.
Table of Contents
Properties
- $openValue : string
- $savedListId : int
- $userId : int
Methods
- apply() : mixed
- applyQueryBuilder() : void
- getAllowStatuses() : array<string|int, mixed>
- getOpenValue() : string
- getSavedListId() : int
- getUserId() : int
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setOpenValue() : self
- setSavedListId() : self
- setUserId() : self
- alias() : string
Properties
$openValue
protected
string
$openValue
$savedListId
protected
int
$savedListId
= 0
$userId
protected
int
$userId
Methods
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getAllowStatuses()
public
static getAllowStatuses() : array<string|int, mixed>
Return values
array<string|int, mixed>getOpenValue()
public
getOpenValue() : string
Return values
stringgetSavedListId()
public
getSavedListId() : int
Return values
intgetUserId()
public
getUserId() : int
Return values
intlikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetOpenValue()
public
setOpenValue(mixed $openValue) : self
Parameters
- $openValue : mixed
Return values
selfsetSavedListId()
public
setSavedListId(int $savedListId) : self
Parameters
- $savedListId : int
Return values
selfsetUserId()
public
setUserId(mixed $userId) : self
Parameters
- $userId : mixed
Return values
selfalias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string