<?php
-
/*
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
if (empty($params['entity_id'])) {
return _civicrm_api3_basic_get(_civicrm_api3_get_BAO(__FUNCTION__), $params);
}
- else{
+ else {
//do legacy non-standard behaviour
$values = CRM_Core_BAO_EntityTag::getTag($params['entity_id'], $params['entity_table']);
$result = array();
/**
* modify metadata
+ * @param array $params
*/
function _civicrm_api3_entity_tag_delete_spec(&$params) {
// set as not required as tag_id also acceptable & no either/or std yet
/**
*
- * @param <type> $params
+ * @param array $params
* @param string $op
*
- * @return array <type>
+ * @return array
+ * <type>
*/
function _civicrm_api3_entity_tag_common($params, $op = 'add') {
$entityIDs = array();
- $tagsIDs = array();
$entityTable = 'civicrm_contact';
if (is_array($params)) {
foreach ($params as $n => $v) {