X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=sidebyside;f=CRM%2FCore%2FDAO%2FUFJoin.php;h=a85d2e6e5e732d8c9f5048a9c84211ea2e0edd6b;hb=e7a6b91ae4e3004b2d097ed318524d2ea7cf3fb0;hp=915f4c0d612d838f684968e7663aa3d517e4afa4;hpb=338d5ac67a72f1df1e2a2a7e3ab535134abddc68;p=civicrm-core.git diff --git a/CRM/Core/DAO/UFJoin.php b/CRM/Core/DAO/UFJoin.php index 915f4c0d61..a85d2e6e5e 100644 --- a/CRM/Core/DAO/UFJoin.php +++ b/CRM/Core/DAO/UFJoin.php @@ -30,7 +30,7 @@ * * Generated from xml/schema/CRM/Core/UFJoin.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ff46cde9614a8c441e00dc66cdeb8667) + * (GenCodeChecksum:fde4a7125f1dd6d9e5081b534f151db6) */ require_once 'CRM/Core/DAO.php'; require_once 'CRM/Utils/Type.php'; @@ -137,6 +137,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , 'is_active' => array( 'name' => 'is_active', @@ -147,6 +148,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , 'module' => array( 'name' => 'module', @@ -159,6 +161,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , 'entity_table' => array( 'name' => 'entity_table', @@ -170,6 +173,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, 'pseudoconstant' => array( 'callback' => 'CRM_Core_BAO_UFJoin::entityTables', ) @@ -182,6 +186,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , 'weight' => array( 'name' => 'weight', @@ -193,6 +198,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , 'uf_group_id' => array( 'name' => 'uf_group_id', @@ -203,6 +209,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, 'FKClassName' => 'CRM_Core_DAO_UFGroup', 'html' => array( 'type' => 'Select', @@ -221,6 +228,7 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { 'table_name' => 'civicrm_uf_join', 'entity' => 'UFJoin', 'bao' => 'CRM_Core_BAO_UFJoin', + 'localizable' => 0, ) , ); CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); @@ -277,4 +285,21 @@ class CRM_Core_DAO_UFJoin extends CRM_Core_DAO { $r = CRM_Core_DAO_AllCoreTables::getExports(__CLASS__, 'uf_join', $prefix, array()); return $r; } + /** + * Returns the list of indices + */ + public static function indices($localize = TRUE) { + $indices = array( + 'index_entity' => array( + 'name' => 'index_entity', + 'field' => array( + 0 => 'entity_table', + 1 => 'entity_id', + ) , + 'localizable' => false, + 'sig' => 'civicrm_uf_join::0::entity_table::entity_id', + ) , + ); + return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices; + } }