Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
app
Category
scopeMothers
app\Category::scopeMothers PHP Метод
Документация по классу Category
Показать файл
Открыть проект
scopeMothers()
публичный
Метод
scopeMothers Retrieve the main categories.
public
scopeMothers
(
[type]
$query
) :
[type]
$query
[type]
Результат
[type]
public function scopeMothers($query) { return $query->whereNull('category_id'); }
Category
category
getChildsAttribute
getParentAttribute
getParentTreeAttribute
hasChildren
hasChilds
hasParent
newCollection
parentsTree
product
progeny
scopeActives
scopeByName
scopeChildsOf
scopeFull
scopeGroup
scopeInactives
scopeLightSelection
scopeMothers
scopeSearch
scopeStore
withChilds
withFamilyTree
withParentTree