ContentTagService
in package
Table of Contents
Properties
Methods
- __construct() : mixed
- addTag() : bool
- Adds a new ContentTagRelation for this content and the given $tag instance.
- addTags() : void
- Adds the given ContentTag array to this content.
Properties
$content
private
Content
$content
Methods
__construct()
public
__construct(Content $content) : mixed
Parameters
- $content : Content
addTag()
Adds a new ContentTagRelation for this content and the given $tag instance.
public
addTag(ContentTag $tag) : bool
Parameters
- $tag : ContentTag
Tags
Return values
bool —if the provided tag is part of another ContentContainer
addTags()
Adds the given ContentTag array to this content.
public
addTags(mixed $tags) : void
Parameters
- $tags : mixed
-
ContentTag[]