3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
14 * EntityTag - links tags to contacts, activities, etc.
21 class EntityTag
extends Generic\DAOEntity
{
22 use Generic\Traits\EntityBridge
;
25 * @param bool $checkPermissions
26 * @return Action\EntityTag\Create
28 public static function create($checkPermissions = TRUE) {
29 return (new Action\EntityTag\
Create('EntityTag', __FUNCTION__
))
30 ->setCheckPermissions($checkPermissions);
34 * @param bool $checkPermissions
35 * @return Action\EntityTag\Save
37 public static function save($checkPermissions = TRUE) {
38 return (new Action\EntityTag\
Save('EntityTag', __FUNCTION__
))
39 ->setCheckPermissions($checkPermissions);
43 * @param bool $checkPermissions
44 * @return Action\EntityTag\Update
46 public static function update($checkPermissions = TRUE) {
47 return (new Action\EntityTag\
Update('EntityTag', __FUNCTION__
))
48 ->setCheckPermissions($checkPermissions);