PhotoAlbumScope
extends BaseScope
in package
Class PhotoAlbumScope.
Table of Contents
Properties
Methods
- apply() : mixed
- applyQueryBuilder() : void
- getUserContext() : User
- likeOperator() : string
- return the case-insensitive LIKE operator bases on the current database driver.
- setUserContext() : PhotoAlbumScope
- alias() : string
Properties
$user
protected
User
$user
Methods
apply()
public
apply(Builder $builder, Model $model) : mixed
Parameters
- $builder : Builder
- $model : Model
applyQueryBuilder()
public
applyQueryBuilder(Builder $builder) : void
Parameters
- $builder : Builder
getUserContext()
public
getUserContext() : User
Return values
UserlikeOperator()
return the case-insensitive LIKE operator bases on the current database driver.
public
likeOperator() : string
Return values
stringsetUserContext()
public
setUserContext(User $user) : PhotoAlbumScope
Parameters
- $user : User
Return values
PhotoAlbumScopealias()
protected
alias(string $table, string $column) : string
Parameters
- $table : string
- $column : string