Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
BookStack
Repos
ChapterRepo
idExists
BookStack\Repos\ChapterRepo::idExists PHP Метод
Документация по классу ChapterRepo
Показать файл
Открыть проект
idExists()
публичный
Метод
Check if an id exists.
public
idExists
(
$id
) :
boolean
$id
Результат
boolean
public function idExists($id) { return $this->chapterQuery()->where('id', '=', $id)->count() > 0; }
ChapterRepo
__construct
changeBook
chapterQuery
createFromInput
destroy
doesSlugExist
findSuitableSlug
getAll
getById
getBySearch
getBySlug
getChildren
getNewPriority
idExists