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 * Relationship entity.
16 * @see https://docs.civicrm.org/user/en/latest/organising-your-data/relationships/
21 class Relationship
extends Generic\DAOEntity
{
24 * @param bool $checkPermissions
25 * @return Action\Relationship\Get
27 public static function get($checkPermissions = TRUE) {
28 return (new Action\Relationship\
Get(static::class, __FUNCTION__
))
29 ->setCheckPermissions($checkPermissions);