Метод |
Описание |
|
delete ( mixed $ids ) |
Delete one or more tags. |
|
exists ( integer $id ) : boolean |
Check if a tag exists. |
|
existsTag ( string $tag ) : boolean |
Check if a tag exists |
|
get ( integer $id ) : array |
Get tag record. |
|
getAll ( string $language = null ) : array |
Get all tags. |
|
getStartsWith ( string $term, string $language = null ) : array |
Get tags that start with the given string |
|
getTags ( string $module, integer $otherId, string $type = 'string', string $language = null ) : mixed |
Get tags for an item |
|
getURL ( string $url, integer $id = null ) : string |
Get a unique URL for a tag |
|
insert ( string $tag, string $language = null ) : integer |
Insert a new tag |
|
saveTags ( integer $otherId, mixed $tags, string $module, string $language = null ) |
Save the tags |
|
update ( array $item ) |
Update a tag
Remark: $tag['id'] should be available. |
|