*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:286225e46c4e2f3c12b17cd5f83b210d)
+ * (GenCodeChecksum:ad3dcb71cd89052b43154c9e9ee31115)
*/
/**
class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
const EXT = 'civicrm';
const TABLE_ADDED = '2.2';
+ const COMPONENT = 'CiviContribute';
/**
* 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('PCPs');
+ public static function getEntityTitle($plural = FALSE) {
+ return $plural ? ts('PCPs') : ts('PCP');
}
/**
'entity' => 'PCP',
'bao' => 'CRM_PCP_BAO_PCP',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Number',
+ ],
'add' => '2.2',
],
'pcp_contact_id' => [
'FKClassName' => 'CRM_Contact_DAO_Contact',
'html' => [
'type' => 'EntityRef',
+ 'label' => ts("Contact"),
],
'add' => '2.2',
],