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
$contextId
    private
        int
    $contextId
    
    
    
    
$primaryKey
    private
        string|null
    $primaryKey
     = null
    
    
    
$table
    private
        string|null
    $table
     = null
    
    
    
Methods
apply()
    public
                    apply(Builder $builder, Model $model) : void
    Parameters
- $builder : Builder
 - $model : Model
 
Tags
applyQueryBuilder()
    public
                    applyQueryBuilder(Builder $builder) : void
    Parameters
- $builder : Builder
 
getContextId()
Get the value of contextId.
    public
                    getContextId() : int
    Return values
intgetPrimaryKey()
Get the value of primary key.
    public
                    getPrimaryKey() : string|null
    Return values
string|nullgetTable()
Get the value of table.
    public
                    getTable() : string|null
    Return values
string|nulllikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
    public
                    likeOperator() : string
    Return values
stringsetContextId()
Set the value of contextId.
    public
                    setContextId(int $contextId) : self
    Parameters
- $contextId : int
 
Return values
selfsetPrimaryKey()
Set the value of primary key.
    public
                    setPrimaryKey(string $primaryKey) : self
    Parameters
- $primaryKey : string
 
Return values
selfsetTable()
Set the value of table.
    public
                    setTable(string $table) : self
    Parameters
- $table : string
 
Return values
selfalias()
    protected
                    alias(string $table, string $column) : string
    Parameters
- $table : string
 - $column : string
 
Return values
stringbuildQuery()
    protected
                    buildQuery(Builder $builder) : void
    Parameters
- $builder : Builder