setCheckPermissions($checkPermissions); } /** * @param bool $checkPermissions * @return Generic\DAOGetFieldsAction */ public static function getFields($checkPermissions = TRUE) { return (new Generic\DAOGetFieldsAction(__CLASS__, __FUNCTION__)) ->setCheckPermissions($checkPermissions); } /** * @return array */ public static function getInfo() { $info = parent::getInfo(); $info['bridge_title'] = ts('Relationship'); $info['bridge'] = [ 'near_contact_id' => ['description' => ts('One or more contacts with a relationship to this contact')], 'far_contact_id' => ['description' => ts('One or more contacts with a relationship to this contact')], ]; return $info; } }