StatusScope
extends BaseScope
in package
Class BaseScope.
Table of Contents
Constants
- STATUS_DEFAULT = \MetaFox\Platform\Support\Browse\Browse::VIEW_ALL
Properties
- $status : string
Methods
- apply() : mixed
- applyQueryBuilder() : void
- getAllowStatus() : array<string|int, string>
- getStatus() : string
- getStatusOptions() : array<string|int, string>
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setStatus() : StatusScope
- alias() : string
Constants
STATUS_DEFAULT
public
mixed
STATUS_DEFAULT
= \MetaFox\Platform\Support\Browse\Browse::VIEW_ALL
Properties
$status
private
string
$status
= \MetaFox\Platform\Support\Browse\Browse::VIEW_ALL
Methods
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
Tags
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getAllowStatus()
public
static getAllowStatus() : array<string|int, string>
Return values
array<string|int, string>getStatus()
public
getStatus() : string
Return values
stringgetStatusOptions()
public
static getStatusOptions() : array<string|int, string>
Return values
array<string|int, string>likeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetStatus()
public
setStatus(string $status) : StatusScope
Parameters
- $status : string
Return values
StatusScopealias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string