4 +--------------------------------------------------------------------+
5 | Copyright CiviCRM LLC. All rights reserved. |
7 | This work is published under the GNU AGPLv3 license with some |
8 | permitted exceptions and without any warranty. For full license |
9 | and copyright information, see https://civicrm.org/licensing |
10 +--------------------------------------------------------------------+
16 * @copyright CiviCRM LLC https://civicrm.org/licensing
25 * Relationship entity.
27 * @see https://docs.civicrm.org/user/en/latest/organising-your-data/relationships/
31 class Relationship
extends Generic\DAOEntity
{
34 * @param bool $checkPermissions
35 * @return Action\Relationship\Get
37 public static function get($checkPermissions = TRUE) {
38 return (new Action\Relationship\
Get(static::class, __FUNCTION__
))
39 ->setCheckPermissions($checkPermissions);