MetaFox

FeaturedScope extends BaseScope
in package

Class FeaturedScopeFeaturedScope.

Table of Contents

Properties

$isFeatured  : int|null

Methods

__construct()  : mixed
FeaturedScopeFeaturedScope constructor.
apply()  : mixed
applyQueryBuilder()  : void
getIsFeatured()  : int|null
likeOperator()  : string
return the case-insensitive LIKE operator bases on the current database driver.
setIsFeatured()  : $this
alias()  : string

Properties

Methods

__construct()

FeaturedScopeFeaturedScope constructor.

public __construct([int|null $isFeatured = null ]) : mixed
Parameters
$isFeatured : int|null = null

apply()

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

applyQueryBuilder()

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

getIsFeatured()

public getIsFeatured() : int|null
Return values
int|null

likeOperator()

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

public likeOperator() : string
Return values
string

setIsFeatured()

public setIsFeatured(int|null $isFeatured) : $this
Parameters
$isFeatured : int|null
Return values
$this

alias()

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

        
On this page

Search results