*
* Generated from org.civicrm.afform/xml/schema/CRM/Afform/AfformSubmission.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:68e301b8eb1d4ca755e3eb3b614ee2ff)
+ * (GenCodeChecksum:4dc8f836ce9420d461111dcaaebbb37a)
*/
use CRM_Afform_ExtensionUtil as E;
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
--
-- Generated from drop.tpl
-- DO NOT EDIT. Generated by CRM_Core_CodeGen
----- /*******************************************************
+--
+-- /*******************************************************
+-- *
+-- * Clean up the existing tables
-- *
--- * Clean up the existing tables-- *
-- *******************************************************/
SET FOREIGN_KEY_CHECKS=0;
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
--
-- Generated from drop.tpl
-- DO NOT EDIT. Generated by CRM_Core_CodeGen
----- /*******************************************************
+--
+-- /*******************************************************
+-- *
+-- * Clean up the existing tables
-- *
--- * Clean up the existing tables-- *
-- *******************************************************/
SET FOREIGN_KEY_CHECKS=0;
*
* Generated from org.civicrm.search_kit/xml/schema/CRM/Search/SearchDisplay.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:5ca9cccecaa79803d415f288292376bb)
+ * (GenCodeChecksum:0eed730a39d0aadd3f66f773692f5167)
*/
use CRM_Search_ExtensionUtil as E;
'title' => E::ts('Search Display ID'),
'description' => E::ts('Unique SearchDisplay ID'),
'required' => TRUE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.id',
'table_name' => 'civicrm_search_display',
'entity' => 'SearchDisplay',
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.name',
'table_name' => 'civicrm_search_display',
'entity' => 'SearchDisplay',
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.label',
'table_name' => 'civicrm_search_display',
'entity' => 'SearchDisplay',
'title' => E::ts('Saved Search ID'),
'description' => E::ts('FK to saved search table.'),
'required' => TRUE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.saved_search_id',
'table_name' => 'civicrm_search_display',
'entity' => 'SearchDisplay',
'required' => TRUE,
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.type',
'table_name' => 'civicrm_search_display',
'entity' => 'SearchDisplay',
'type' => CRM_Utils_Type::T_TEXT,
'title' => E::ts('Search Display Settings'),
'description' => E::ts('Configuration data for the search display'),
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.settings',
'default' => NULL,
'table_name' => 'civicrm_search_display',
'type' => CRM_Utils_Type::T_BOOLEAN,
'title' => E::ts('Bypass ACL Permissions'),
'description' => E::ts('Skip permission checks and ACLs when running this display.'),
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_display.acl_bypass',
'default' => '0',
'table_name' => 'civicrm_search_display',
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
*
* Generated from org.civicrm.search_kit/xml/schema/CRM/Search/SearchSegment.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:0776e800d97560d2b49c54bb581959c6)
+ * (GenCodeChecksum:0646fd70a9ae439dbb475616dde6ab30)
*/
use CRM_Search_ExtensionUtil as E;
'title' => E::ts('Search Segment ID'),
'description' => E::ts('Unique SearchSegment ID'),
'required' => TRUE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.id',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.name',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.label',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
'description' => E::ts('Description will appear when selecting SearchSegment in the fields dropdown.'),
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.description',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
'required' => TRUE,
'maxlength' => 255,
'size' => CRM_Utils_Type::HUGE,
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.entity_name',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
'type' => CRM_Utils_Type::T_TEXT,
'title' => E::ts('Items'),
'description' => E::ts('All items in set'),
+ 'usage' => [
+ 'import' => FALSE,
+ 'export' => FALSE,
+ 'duplicate_matching' => FALSE,
+ 'token' => FALSE,
+ ],
'where' => 'civicrm_search_segment.items',
'table_name' => 'civicrm_search_segment',
'entity' => 'SearchSegment',
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
-- *
-- * civicrm_search_display
-- *
--- * Search Kit - saved search displays
+-- * SearchKit - saved search displays
-- *
-- *******************************************************/
CREATE TABLE `civicrm_search_display` (
--
-- Generated from drop.tpl
-- DO NOT EDIT. Generated by CRM_Core_CodeGen
----- /*******************************************************
+--
+-- /*******************************************************
+-- *
+-- * Clean up the existing tables
-- *
--- * Clean up the existing tables-- *
-- *******************************************************/
SET FOREIGN_KEY_CHECKS=0;
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*
return Civi::$statics[__CLASS__]['fields'];
}
- /**
- * Return a mapping from field-name to the corresponding key (as used in fields()).
- *
- * @return array
- * Array(string $name => string $uniqueName).
- */
- public static function &fieldKeys() {
- if (!isset(Civi::$statics[__CLASS__]['fieldKeys'])) {
- Civi::$statics[__CLASS__]['fieldKeys'] = array_flip(CRM_Utils_Array::collect('name', self::fields()));
- }
- return Civi::$statics[__CLASS__]['fieldKeys'];
- }
-
- /**
- * Returns the names of this table
- *
- * @return string
- */
- public static function getTableName() {
- return self::$_tableName;
- }
-
- /**
- * Returns if this table needs to be logged
- *
- * @return bool
- */
- public function getLog() {
- return self::$_log;
- }
-
/**
* Returns the list of fields that can be imported
*