Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Cartalyst
Tags
TaggableInterface
scopeWithTag
Cartalyst\Tags\TaggableInterface::scopeWithTag PHP Метод
Документация по интерфейсу TaggableInterface
Показать файл
Открыть проект
scopeWithTag()
публичный
статический
Метод
Returns the entities with one of the given tags.
public
static
scopeWithTag
(
Builder
$query
,
string
|
array
$tags
,
string
$type
= 'slug' ) :
Builder
$query
Illuminate\Database\Eloquent\Builder
$tags
string
|
array
$type
string
Результат
Illuminate\Database\Eloquent\Builder
public static function scopeWithTag(Builder $query, $tags, $type = 'slug');
TaggableInterface
addTag
allTags
createTagsModel
getSlugGenerator
getTagsDelimiter
getTagsModel
prepareTags
removeTag
scopeWhereTag
scopeWithTag
scopeWithoutTag
setSlugGenerator
setTags
setTagsDelimiter
setTagsModel
tag
tags
untag