*
* Generated from xml/schema/CRM/PCP/PCP.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:75a91ef42442db8350a6f4806104cce4)
+ * (GenCodeChecksum:984a6d4632e132247e0df5a4772926f6)
*/
/**
*/
public static $_tableName = 'civicrm_pcp';
+ /**
+ * Field to show when displaying a record.
+ *
+ * @var string
+ */
+ public static $_labelField = 'title';
+
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* Whether to return the plural version of the title.
*/
public static function getEntityTitle($plural = FALSE) {
- return $plural ? ts('PCPs') : ts('PCP');
+ return $plural ? ts('Personal Campaign Pages') : ts('Personal Campaign Page');
}
/**
*
* Generated from xml/schema/CRM/PCP/PCPBlock.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fc34e59aa9ea5dd0ed465a4e2dbed821)
+ * (GenCodeChecksum:4c2c2836a52f81c10699e8e2ccb578d0)
*/
/**
* Whether to return the plural version of the title.
*/
public static function getEntityTitle($plural = FALSE) {
- return $plural ? ts('PCPBlocks') : ts('PCPBlock');
+ return $plural ? ts('Personal Campaign Blocks') : ts('Personal Campaign Block');
}
/**
namespace Civi\Api4;
/**
- * PCP entity.
+ * Personal Campaign Pages.
*
+ * Personalized contribution pages for individuals to fundraise toward a common goal.
+ *
+ * @see https://docs.civicrm.org/user/en/latest/contributions/personal-campaign-pages/
* @searchable secondary
* @since 5.42
* @package Civi\Api4
namespace Civi\Api4;
/**
- * PCP Block entity.
+ * Persoanl Campaign Page Blocks.
+ *
+ * A Personal Campaign Page Block stores admin configurable status options and rules
*
* @searchable secondary
* @since 5.34
<add>2.2</add>
<log>true</log>
<component>CiviContribute</component>
+ <labelField>title</labelField>
+ <title>Personal Campaign Page</title>
<field>
<name>id</name>
<uniqueName>pcp_id</uniqueName>
<add>2.2</add>
<log>true</log>
<component>CiviContribute</component>
+ <title>Personal Campaign Block</title>
<field>
<name>id</name>
<title>PCP Block ID</title>