/**
* Participant Listing
- *
* @var array
+ * @deprecated
*/
private static $participantListing;
/**
* Personal campaign pages
* @var array
+ * @deprecated
*/
private static $pcPage;
/**
* Get all the participant listings.
*
- *
+ * @deprecated
* @param int $id
- *
* @return array|string
* array reference of all participant listings if any
*/
public static function &participantListing($id = NULL) {
+ CRM_Core_Error::deprecatedFunctionWarning('Function participantListing will be removed');
if (!self::$participantListing) {
self::$participantListing = [];
self::$participantListing = CRM_Core_OptionGroup::values('participant_listing');
/**
* Get all the Personal campaign pages.
*
- *
+ * @deprecated
* @param int $id
* @return array
* array reference of all pcp if any
*/
public static function &pcPage($id = NULL) {
+ CRM_Core_Error::deprecatedFunctionWarning('Function pcPage will be removed');
if (!self::$pcPage) {
CRM_Core_PseudoConstant::populate(self::$pcPage,
'CRM_PCP_DAO_PCP',