Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Cartalyst
Tags
TaggableInterface
setTags
Cartalyst\Tags\TaggableInterface::setTags PHP Method
TaggableInterface Interface Documentation
Mostra file
Open project: cartalyst/tags
setTags()
public
method
Attaches or detaches the given tags.
public
setTags
(
string
|
array
$tags
,
string
$type
= 'name' ) :
boolean
$tags
string
|
array
$type
string
return
boolean
public function setTags($tags, $type = 'name');
TaggableInterface
addTag
allTags
createTagsModel
getSlugGenerator
getTagsDelimiter
getTagsModel
prepareTags
removeTag
scopeWhereTag
scopeWithTag
scopeWithoutTag
setSlugGenerator
setTags
setTagsDelimiter
setTagsModel
tag
tags
untag