uKnowvaTags
class uKnowvaTags
This class has all the functions related to tags in uKnowva uKnowva 2.5.1 shall facilitate tagging through two characters: @: this is for users and user groups and community groups hash(#): actually for tags which can be used across various other content types like articles, documents, knowledge posts, polls, etc
Properties
static | $_errormsg |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
tag a content
returns an array of tags the given content is tagged with
No description
No description
No description
No description
No description
this function sends an email notification to all the entities that are tagged in a string
No description
No description
No description
No description
No description
returns an array of tags that the user is authorized to view
Details
at line 28
addTag($tag, $otherinfo = array())
at line 105
canCreateTag()
at line 128
deleteTag($tag_id)
at line 149
updateTagCount($tags)
at line 162
updateTagHits($tags)
at line 174
getMaxTagLength()
at line 182
getMinTagLength()
at line 190
tagExists($tag)
at line 211
getTagInfo($id)
at line 238
boolean
tagContent(array $tags, string $content_type, int|string $content_id, string $option = null, array $taginfo = array())
tag a content
at line 319
returns
getTagsForContent(string $content_type, string|int $content_id, string $option = null)
returns an array of tags the given content is tagged with
at line 347
getTagId($tag, $create = true, $taginfo = array())
at line 376
parseTaggable($string, $tags = '@|#')
at line 414
replaceTags($string, $tags = null, $replace = array('@grp:', '@ugrp:', '@', '#'), $attributes = array())
at line 504
getTaggedUsers($tags, $exclude_users = array())
at line 544
sendNotification($tags, $message, $exclude_users = array(), $type = null, $link = null, $icon = null, $readonlyonce = true)
at line 555
sendEmail(array $tags, string $subject, string $body, array $exclude_users = array())
this function sends an email notification to all the entities that are tagged in a string
at line 567
updateSubscription($tagid, $type, $id, $subscribe = true, $notify_by = 'notification')
at line 661
getSubscriptionInfo($tagid)
at line 674
getSubscribedUsers($tagid)
at line 699
getUnSubscribedUsers($tagid)
at line 709
getUserSubscribedTags($userid)
at line 720
array
getAuthorizedTags(string $foruser = null)
returns an array of tags that the user is authorized to view