*
* Generated from xml/schema/CRM/Contact/RelationshipCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:6a586a5a5550a64db4c9907387c1411d)
+ * (GenCodeChecksum:6de8ba08019ff8821fd4e09f14db6da9)
*/
/**
* Database access object for the RelationshipCache entity.
*/
class CRM_Contact_DAO_RelationshipCache extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '5.29';
/**
* Static instance to hold the table name.
/**
* Returns localized title of this entity.
+ *
+ * @param bool $plural
+ * Whether to return the plural version of the title.
*/
- public static function getEntityTitle() {
- return ts('Relationship Caches');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Relationship Caches') : ts('Relationship Cache');
}
/**
'entity' => 'RelationshipCache',
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_SelectValues::relationshipOrientation',
+ ],
'add' => '5.29',
],
'near_contact_id' => [
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
+ 'html' => [
+ 'type' => 'EntityRef',
+ ],
'add' => '5.29',
],
'near_relation' => [
'entity' => 'RelationshipCache',
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_PseudoConstant::relationshipTypeOptions',
+ ],
'add' => '5.29',
],
'far_contact_id' => [
'entity' => 'RelationshipCache',
'bao' => 'CRM_Contact_BAO_RelationshipCache',
'localizable' => 0,
+ 'pseudoconstant' => [
+ 'callback' => 'CRM_Core_PseudoConstant::relationshipTypeOptions',
+ ],
'add' => '5.29',
],
'is_active' => [