MetaFox

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

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>

likeOperator()

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

public likeOperator() : string
Return values
string

setOpenValue()

public setOpenValue(mixed $openValue) : self
Parameters
$openValue : mixed
Return values
self

setSavedListId()

public setSavedListId(int $savedListId) : self
Parameters
$savedListId : int
Return values
self

setUserId()

public setUserId(mixed $userId) : self
Parameters
$userId : mixed
Return values
self

alias()

protected alias(string $table, string $column) : string
Parameters
$table : string
$column : string
Return values
string

        
On this page

Search results