Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Jedrzej
Pimpable
PimpableTrait
PHP Трейт Jedrzej\Pimpable\PimpableTrait
Наследование:
use trait
Jedrzej\Searchable\SearchableTrait
,
use trait
Jedrzej\Sortable\SortableTrait
,
use trait
Jedrzej\Withable\WithableTrait
Показать файл
Открыть проект
Открытые методы
Метод
Описание
scopePimp
(
Builder
$builder
,
array
$query
= [],
$sort
= [],
$relations
= [] )
Enable searchable, sortable and withable scopes
Защищенные методы
Метод
Описание
getSearchableAttributes
( )
getSortableAttributes
( )
getWithableRelations
( )
Описание методов
getSearchableAttributes()
защищенный
Метод
protected
getSearchableAttributes
( )
getSortableAttributes()
защищенный
Метод
protected
getSortableAttributes
( )
getWithableRelations()
защищенный
Метод
protected
getWithableRelations
( )
scopePimp()
публичный
Метод
Enable searchable, sortable and withable scopes
public
scopePimp
(
Builder
$builder
,
array
$query
= [],
$sort
= [],
$relations
= [] )
$builder
Illuminate\Database\Eloquent\Builder
query builder
$query
array