projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Checkstyle fix - one pesky whitespace
[civicrm-core.git]
/
api
/
v3
/
EntityTag.php
diff --git
a/api/v3/EntityTag.php
b/api/v3/EntityTag.php
index d3f7f97ccfe0973798047701a00d88ffe8a3e7d3..c775318defaac7321176be0a3b80d3956e83b21f 100644
(file)
--- a/
api/v3/EntityTag.php
+++ b/
api/v3/EntityTag.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
4
|
+ | Copyright CiviCRM LLC (c) 2004-201
5
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-26,15
+26,14
@@
*/
/**
*/
/**
- * This api exposes CiviCRM entity tag.
+ * This api exposes CiviCRM EntityTag records.
+ *
+ * Use this api to add/remove tags from a contact/activity/etc.
+ * To create/update/delete the tags themselves, use the Tag api.
*
* @package CiviCRM_APIv3
*/
*
* @package CiviCRM_APIv3
*/
-/**
- * Include utility functions
- */
-
/**
* Get entity tags.
*
/**
* Get entity tags.
*
@@
-54,7
+53,7
@@
function civicrm_api3_entity_tag_get($params) {
foreach ($values as $v) {
$result[$v] = array('tag_id' => $v);
}
foreach ($values as $v) {
$result[$v] = array('tag_id' => $v);
}
- return civicrm_api3_create_success($result, $params);
+ return civicrm_api3_create_success($result, $params
, 'EntityTag'
);
}
}
}
}