PHP Класс creocoder\taggable\TaggableQueryBehavior

Автор: Alexander Kochetov ([email protected])
Наследование: extends yii\base\Behavior
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
allTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery Gets entities by all tags.
anyTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery Gets entities by any tags.
relatedByTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery Gets entities related by tags.

Описание методов

allTagValues() публичный Метод

Gets entities by all tags.
public allTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery
$values string | string[]
$attribute string | null
Результат yii\db\ActiveQuery the owner

anyTagValues() публичный Метод

Gets entities by any tags.
public anyTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery
$values string | string[]
$attribute string | null
Результат yii\db\ActiveQuery the owner

relatedByTagValues() публичный Метод

Gets entities related by tags.
public relatedByTagValues ( string | string[] $values, string | null $attribute = null ) : ActiveQuery
$values string | string[]
$attribute string | null
Результат yii\db\ActiveQuery the owner