*
* Generated from xml/schema/CRM/Dedupe/Rule.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:78004d786287419f4f322dd22c8e7daa)
+ * (GenCodeChecksum:1c0c64573702774a043ea32c73f05bd8)
*/
/**
* Database access object for the Rule entity.
*/
class CRM_Dedupe_DAO_Rule extends CRM_Core_DAO {
+ const EXT = 'civicrm';
+ const TABLE_ADDED = '1.8';
/**
* 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('Rules');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('Rules') : ts('Rule');
}
/**
'entity' => 'Rule',
'bao' => 'CRM_Dedupe_BAO_Rule',
'localizable' => 0,
+ 'add' => '1.8',
],
'dedupe_rule_group_id' => [
'name' => 'dedupe_rule_group_id',
'bao' => 'CRM_Dedupe_BAO_Rule',
'localizable' => 0,
'FKClassName' => 'CRM_Dedupe_DAO_RuleGroup',
+ 'add' => '1.8',
],
'rule_table' => [
'name' => 'rule_table',
'entity' => 'Rule',
'bao' => 'CRM_Dedupe_BAO_Rule',
'localizable' => 0,
+ 'add' => '1.8',
],
'rule_field' => [
'name' => 'rule_field',
'entity' => 'Rule',
'bao' => 'CRM_Dedupe_BAO_Rule',
'localizable' => 0,
+ 'add' => '1.8',
],
'rule_length' => [
'name' => 'rule_length',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.8',
],
'rule_weight' => [
'name' => 'rule_weight',
'html' => [
'type' => 'Text',
],
+ 'add' => '1.8',
],
];
CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']);