+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
// separators in front of the name to give it a visual offset.
// Instead of recursively making mysql queries, we'll make one big
// separators in front of the name to give it a visual offset.
// Instead of recursively making mysql queries, we'll make one big
$args = array(1 => array('%' . $usedFor . '%', 'String'));
$query = "SELECT id, name, parent_id, is_tagset, is_selectable
FROM civicrm_tag
$args = array(1 => array('%' . $usedFor . '%', 'String'));
$query = "SELECT id, name, parent_id, is_tagset, is_selectable
FROM civicrm_tag
*/
public static function del($id) {
// since this is a destructive operation, lets make sure
*/
public static function del($id) {
// since this is a destructive operation, lets make sure
CRM_Utils_Type::validate($id, 'Positive');
// delete all crm_entity_tag records with the selected tag id
CRM_Utils_Type::validate($id, 'Positive');
// delete all crm_entity_tag records with the selected tag id