MetaFox

BlockedScope extends BaseScope
in package

Class BaseScope.

Table of Contents

Properties

$contextId  : int
$primaryKey  : string|null
$table  : string|null

Methods

apply()  : void
applyQueryBuilder()  : void
getContextId()  : int
Get the value of contextId.
getPrimaryKey()  : string|null
Get the value of primary key.
getTable()  : string|null
Get the value of table.
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
setContextId()  : self
Set the value of contextId.
setPrimaryKey()  : self
Set the value of primary key.
setTable()  : self
Set the value of table.
alias()  : string
buildQuery()  : void

Properties

Methods

apply()

public apply(Builder $builder, Model $model) : void
Parameters
$builder : Builder
$model : Model
Tags
SuppressWarnings

(PHPMD.UnusedFormalParameter)

applyQueryBuilder()

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

getContextId()

Get the value of contextId.

public getContextId() : int
Return values
int

getPrimaryKey()

Get the value of primary key.

public getPrimaryKey() : string|null
Return values
string|null

getTable()

Get the value of table.

public getTable() : string|null
Return values
string|null

likeOperator()

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

public likeOperator() : string
Return values
string

setContextId()

Set the value of contextId.

public setContextId(int $contextId) : self
Parameters
$contextId : int
Return values
self

setPrimaryKey()

Set the value of primary key.

public setPrimaryKey(string $primaryKey) : self
Parameters
$primaryKey : string
Return values
self

setTable()

Set the value of table.

public setTable(string $table) : self
Parameters
$table : string
Return values
self

alias()

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

buildQuery()

protected buildQuery(Builder $builder) : void
Parameters
$builder : Builder

        
On this page

Search results