Skip to content

Commit

Permalink
Merge pull request #19627 from colemanw/readonly
Browse files Browse the repository at this point in the history
Metadata - Add 'readonly' to id fields, custom fields & contact fields
  • Loading branch information
seamuslee001 authored Feb 19, 2021
2 parents 35b1407 + 6e18e78 commit b8449b8
Show file tree
Hide file tree
Showing 161 changed files with 355 additions and 161 deletions.
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/ACL.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACL.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:3f7dd0002b1f610838f8c50604c15344)
* (GenCodeChecksum:7343d62539d3c857c66f6cf2cd2deb79)
*/

/**
Expand Down Expand Up @@ -162,6 +162,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.6',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/ACLCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/ACLCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:51f4d5ab70bf89827f6f393037b94dc8)
* (GenCodeChecksum:52fe3123c99d51aa291199703765690d)
*/

/**
Expand Down Expand Up @@ -113,6 +113,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.6',
],
'contact_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/ACL/DAO/EntityRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/ACL/EntityRole.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:cf9e0c31213828937213142e8b09f8dc)
* (GenCodeChecksum:07069f5da0948ab48d78987d2fdfbec3)
*/

/**
Expand Down Expand Up @@ -120,6 +120,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.6',
],
'acl_role_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Activity/DAO/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:2f028d02e039b5c575709449f508b939)
* (GenCodeChecksum:c03cd9a4a9a2e78a7179c6979a9e21ef)
*/

/**
Expand Down Expand Up @@ -296,6 +296,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.1',
],
'source_record_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Activity/DAO/ActivityContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Activity/ActivityContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:e713c308a3c7d44cb334af9c97b9939e)
* (GenCodeChecksum:f22924bc235761e9f73318139d3840de)
*/

/**
Expand Down Expand Up @@ -114,6 +114,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '4.4',
],
'activity_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Batch/DAO/Batch.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Batch/Batch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:00a7601bf04fcaa5c8d5ae2e7f916d4f)
* (GenCodeChecksum:21bc670b9083e60a58ccd4713958c192)
*/

/**
Expand Down Expand Up @@ -204,6 +204,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.3',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Batch/DAO/EntityBatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Batch/EntityBatch.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:415abafe49306753bf320774a6c9207b)
* (GenCodeChecksum:d46bdd27aa448031d626876ef3fe3ec4)
*/

/**
Expand Down Expand Up @@ -114,6 +114,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.3',
],
'entity_table' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Campaign/DAO/Campaign.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Campaign/Campaign.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:0f69dda13e7c2b4ebeeeaf1ea47c07ef)
* (GenCodeChecksum:78eebe103246d92d3044e2dcabf57600)
*/

/**
Expand Down Expand Up @@ -234,6 +234,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.3',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Campaign/DAO/CampaignGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Campaign/CampaignGroup.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:6eb5e63424f42236328b3c11428382e6)
* (GenCodeChecksum:1cf5b0513e86c29cb81bd0f694ccafcd)
*/

/**
Expand Down Expand Up @@ -122,6 +122,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.3',
],
'campaign_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Campaign/DAO/Survey.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Campaign/Survey.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:2c73452082011f01b04978515f1bde2a)
* (GenCodeChecksum:1c74399d67561c75f39d8db59b04737d)
*/

/**
Expand Down Expand Up @@ -242,6 +242,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.3',
],
'title' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Case/DAO/Case.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/Case.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:7ad55ad1c4e7a001188c7e144ae4de95)
* (GenCodeChecksum:0ce5a08de908f8eb8d65337dcc9cf5c5)
*/

/**
Expand Down Expand Up @@ -170,6 +170,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.8',
],
'case_type_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Case/DAO/CaseActivity.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/CaseActivity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:3953c668a1b2081b07e1ae2f207d5186)
* (GenCodeChecksum:5887f4929b4995f53f44b75975af23f4)
*/

/**
Expand Down Expand Up @@ -108,6 +108,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.8',
],
'case_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Case/DAO/CaseContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/CaseContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:bf636853b5224b9c25c7d598b81ab6e4)
* (GenCodeChecksum:5f667ec72fa124ecc4706ae3bbc20db6)
*/

/**
Expand Down Expand Up @@ -108,6 +108,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '2.1',
],
'case_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Case/DAO/CaseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Case/CaseType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:e40fb6bc8c10d6ddad304ffe15773b0e)
* (GenCodeChecksum:2d6717d85561fa14908152df42d9f6ce)
*/

/**
Expand Down Expand Up @@ -127,6 +127,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '4.5',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/ACLContactCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/ACLContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:e32cdfdc571550d1380cb40874062d6c)
* (GenCodeChecksum:6d2a40a65db79a79f7be22421a8706bf)
*/

/**
Expand Down Expand Up @@ -98,6 +98,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.1',
],
'user_id' => [
Expand Down
8 changes: 7 additions & 1 deletion CRM/Contact/DAO/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:d72db3da5f0a3646c35296c43880b425)
* (GenCodeChecksum:cfed69c9e09acada46340971415ec767)
*/

/**
Expand Down Expand Up @@ -465,6 +465,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.1',
],
'contact_type' => [
Expand All @@ -490,6 +491,7 @@ public static function &fields() {
'labelColumn' => 'label',
'condition' => 'parent_id IS NULL',
],
'readonly' => TRUE,
'add' => '1.1',
],
'contact_sub_type' => [
Expand Down Expand Up @@ -699,6 +701,7 @@ public static function &fields() {
'html' => [
'type' => 'Text',
],
'readonly' => TRUE,
'add' => '1.1',
],
'display_name' => [
Expand All @@ -717,6 +720,7 @@ public static function &fields() {
'html' => [
'type' => 'Text',
],
'readonly' => TRUE,
'add' => '1.1',
],
'nick_name' => [
Expand Down Expand Up @@ -869,6 +873,7 @@ public static function &fields() {
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
'readonly' => TRUE,
'add' => '1.1',
],
'api_key' => [
Expand Down Expand Up @@ -1528,6 +1533,7 @@ public static function &fields() {
'html' => [
'label' => ts("Modified Date"),
],
'readonly' => TRUE,
'add' => '4.3',
],
];
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/ContactType.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/ContactType.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:5bc838a856b254ffa52ef88002b9e79d)
* (GenCodeChecksum:882139e2559297b19cece48adff6006e)
*/

/**
Expand Down Expand Up @@ -141,6 +141,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.1',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/DashboardContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/DashboardContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:6d5df608548f4ad29cc269d79d1cfa00)
* (GenCodeChecksum:810293727558f801b03ed76890d5703d)
*/

/**
Expand Down Expand Up @@ -125,6 +125,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '3.1',
],
'dashboard_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/Group.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:8ac9c70cfe18b05911b2c6d85e8c522d)
* (GenCodeChecksum:70cda1352ed41a06561ffa99b92e459c)
*/

/**
Expand Down Expand Up @@ -262,6 +262,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.1',
],
'name' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/GroupContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/GroupContact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:831b40bc5550a6ab4186f68655080c55)
* (GenCodeChecksum:7ec906c301ccd56a9090151046109f17)
*/

/**
Expand Down Expand Up @@ -130,6 +130,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '1.1',
],
'group_id' => [
Expand Down
3 changes: 2 additions & 1 deletion CRM/Contact/DAO/GroupContactCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*
* Generated from xml/schema/CRM/Contact/GroupContactCache.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
* (GenCodeChecksum:782e943e61cd21fead43aedfc8cfe614)
* (GenCodeChecksum:4939f3803c8fd101b55bea565566b43c)
*/

/**
Expand Down Expand Up @@ -107,6 +107,7 @@ public static function &fields() {
'html' => [
'type' => 'Number',
],
'readonly' => TRUE,
'add' => '2.1',
],
'group_id' => [
Expand Down
Loading

0 comments on commit b8449b8

Please sign in to comment.