projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add titles and icons to entities
[civicrm-core.git]
/
CRM
/
Mailing
/
DAO
/
MailingAB.php
diff --git
a/CRM/Mailing/DAO/MailingAB.php
b/CRM/Mailing/DAO/MailingAB.php
index 694c2153891bd267f4a1b1493c3f1876d84ff01c..3a34d2739c687ce5996cf1f6855313f3b52bca48 100644
(file)
--- a/
CRM/Mailing/DAO/MailingAB.php
+++ b/
CRM/Mailing/DAO/MailingAB.php
@@
-6,7
+6,7
@@
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* Generated from xml/schema/CRM/Mailing/MailingAB.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:
2ddb755cd73dfcc880467c192d4f4b6
c)
+ * (GenCodeChecksum:
afe07cb9f1839c37e7511949fc1f0bd
c)
*/
/**
*/
/**
@@
-126,6
+126,13
@@
class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
parent::__construct();
}
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Mailing ABs');
+ }
+
/**
* Returns foreign keys and entity references.
*
/**
* Returns foreign keys and entity references.
*
@@
-227,6
+234,7
@@
class CRM_Mailing_DAO_MailingAB extends CRM_Core_DAO {
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain ID'),
'description' => ts('Which site is this mailing for'),
'type' => CRM_Utils_Type::T_INT,
'title' => ts('Domain ID'),
'description' => ts('Which site is this mailing for'),
+ 'required' => TRUE,
'where' => 'civicrm_mailing_abtest.domain_id',
'table_name' => 'civicrm_mailing_abtest',
'entity' => 'MailingAB',
'where' => 'civicrm_mailing_abtest.domain_id',
'table_name' => 'civicrm_mailing_abtest',
'entity' => 'MailingAB',