<?php
-
/*
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC. All rights reserved. |
| and copyright information, see https://civicrm.org/licensing |
+--------------------------------------------------------------------+
*/
-
-/**
- *
- * @package CRM
- * @copyright CiviCRM LLC https://civicrm.org/licensing
- */
-
namespace Civi\Api4;
/**
class EntityTag extends Generic\DAOEntity {
use Generic\Traits\EntityBridge;
+ /**
+ * @param bool $checkPermissions
+ * @return Action\EntityTag\Create
+ */
+ public static function create($checkPermissions = TRUE) {
+ return (new Action\EntityTag\Create('EntityTag', __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);
+ }
+
+ /**
+ * @param bool $checkPermissions
+ * @return Action\EntityTag\Save
+ */
+ public static function save($checkPermissions = TRUE) {
+ return (new Action\EntityTag\Save('EntityTag', __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);
+ }
+
+ /**
+ * @param bool $checkPermissions
+ * @return Action\EntityTag\Update
+ */
+ public static function update($checkPermissions = TRUE) {
+ return (new Action\EntityTag\Update('EntityTag', __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);
+ }
+
}