PHP Flarum\Core\Repository PostRepository::getIndexForNumber - 3 примера найдено. Это лучшие примеры PHP кода для Flarum\Core\Repository\PostRepository::getIndexForNumber, полученные из open source проектов. Вы можете ставить оценку каждому примеру, чтобы помочь нам улучшить качество примеров.
Get the position within a discussion where a post with a certain number
is. If the post with that number does not exist, the index of the
closest post to it will be returned.