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
/
Pledge
/
DAO
/
Pledge.php
diff --git
a/CRM/Pledge/DAO/Pledge.php
b/CRM/Pledge/DAO/Pledge.php
index 282649f15ecd06ef94d45475f675434b080ec518..1d001b841195717ca97594578d44bc5dfb718955 100644
(file)
--- a/
CRM/Pledge/DAO/Pledge.php
+++ b/
CRM/Pledge/DAO/Pledge.php
@@
-6,7
+6,7
@@
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
*
* Generated from xml/schema/CRM/Pledge/Pledge.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:
a25cc68d8392b1d60d7179ca484b604a
)
+ * (GenCodeChecksum:
7beeffe02aa5aa08578f40547b3c61bd
)
*/
/**
*/
/**
@@
-21,6
+21,13
@@
class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
*/
public static $_tableName = 'civicrm_pledge';
*/
public static $_tableName = 'civicrm_pledge';
+ /**
+ * Icon associated with this entity.
+ *
+ * @var string
+ */
+ public static $_icon = 'fa-paper-plane';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
@@
-195,6
+202,13
@@
class CRM_Pledge_DAO_Pledge extends CRM_Core_DAO {
parent::__construct();
}
parent::__construct();
}
+ /**
+ * Returns localized title of this entity.
+ */
+ public static function getEntityTitle() {
+ return ts('Pledges');
+ }
+
/**
* Returns foreign keys and entity references.
*
/**
* Returns foreign keys and entity references.
*