JHelperTags::tagItem
Method to add or update tags associated with an item.
Signature
public function tagItem(integer
$ucmId,
[JTable
$table = true,
[array
$tags = true,
[boolean
$replace = true]]] )
Parameters
-
$ucmId
- Id of the #__ucm_content item being tagged
-
$table
- JTable object being tagged
-
$tags
- Array of tags to be applied.
-
$replace
- Flag indicating if all exising tags should be replaced
Returns
- boolean
- true on success, otherwise false.