Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
EloquentFilter
ModelFilter
relationIsLocal
EloquentFilter\ModelFilter::relationIsLocal PHP Метод
Документация по классу ModelFilter
Показать файл
Открыть проект
relationIsLocal()
публичный
Метод
Checks to see if there are locally defined relations to filter.
public
relationIsLocal
(
$related
) :
boolean
$related
Результат
boolean
public function relationIsLocal($related) { return count($this->getLocalRelation($related)) > 0; }
ModelFilter
__call
__construct
addRelated
callRelatedLocalSetup
disableRelations
dropIdSuffix
enableRelations
filterInput
filterJoinedRelation
filterRelations
filterUnjoinedRelation
getAllRelations
getFilterMethod
getJoinedTables
getLocalRelation
getRelatedFilter
getRelatedFilterInput
getRelatedModel
getRelatedTable
getRelationConstraints
handle
input
push
related
relationIsFilterable
relationIsJoined
relationIsLocal
relationUsesFilter
relationsEnabled
removeEmptyInput