NFC When printing out the result of the correctly update in single value alter ensure...
[civicrm-core.git] / CRM / PCP / DAO / PCP.php
index eb565696754516f8e27286cbf045c7a7e826fa8e..44e31fff1e96fccb520eddf019737b1726a426e6 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Generated from xml/schema/CRM/PCP/PCP.xml
  * DO NOT EDIT.  Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:286225e46c4e2f3c12b17cd5f83b210d)
+ * (GenCodeChecksum:6799d7afab4c8caeb518d19653090978)
  */
 
 /**
@@ -15,6 +15,7 @@
 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.
@@ -138,9 +139,12 @@ class CRM_PCP_DAO_PCP extends CRM_Core_DAO {
 
   /**
    * 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');
   }
 
   /**