PHP 클래스 creocoder\taggable\TaggableQueryBehavior

저자: Alexander Kochetov ([email protected])
상속: extends yii\base\Behavior
파일 보기 프로젝트 열기: creocoder/yii2-taggable 1 사용 예제들

공개 메소드들

메소드 설명
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