Commit | Line | Data |
---|---|---|
d1925fb3 EM |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
4 | | Copyright CiviCRM LLC. All rights reserved. | | |
5 | | | | |
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 | +--------------------------------------------------------------------+ | |
10 | */ | |
11 | namespace Civi\Api4; | |
12 | ||
13 | /** | |
6fe24324 | 14 | * Managed entities API. |
d1925fb3 EM |
15 | * |
16 | * Managed entities allow extensions to add and manage entities. | |
17 | * | |
18 | * @searchable secondary | |
19 | * @see https://civicrm.org/blog/totten/api-and-art-installation | |
20 | * @since 5.42 | |
21 | * @package Civi\Api4 | |
22 | */ | |
23 | class Managed extends Generic\DAOEntity { | |
24 | ||
6c266d76 CW |
25 | /** |
26 | * @param bool $checkPermissions | |
6fe24324 | 27 | * @return Action\Managed\Reconcile |
6c266d76 CW |
28 | */ |
29 | public static function reconcile($checkPermissions = TRUE) { | |
30 | return (new Action\Managed\Reconcile(__CLASS__, __FUNCTION__)) | |
31 | ->setCheckPermissions($checkPermissions); | |
32 | } | |
33 | ||
d1925fb3 | 34 | } |