MetaFox

HiddenScope extends BaseScope
in package

Class HiddenScope.

Table of Contents

Properties

$user  : User

Methods

__construct()  : mixed
PendingScope constructor.
apply()  : mixed
applyQueryBuilder()  : void
getUserContext()  : User
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
setUserContext()  : PendingScope
alias()  : string

Properties

Methods

__construct()

PendingScope constructor.

public __construct(User $user) : mixed
Parameters
$user : User

apply()

public apply(Builder $builder, Model $model) : mixed
Parameters
$builder : Builder
$model : Model

applyQueryBuilder()

public applyQueryBuilder(Builder $builder) : void
Parameters
$builder : Builder

likeOperator()

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

public likeOperator() : string
Return values
string

alias()

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

        
On this page

Search results