Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
app
Category
scopeMothers
app\Category::scopeMothers PHP Method
Category Class Documentation
ファイルを表示
Open project: ant-vel/antVel
scopeMothers()
public
method
scopeMothers Retrieve the main categories.
public
scopeMothers
(
[type]
$query
) :
[type]
$query
[type]
return
[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