本文整理汇总了PHP中CRM_Event_DAO_Participant::_fieldKeys方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Event_DAO_Participant::_fieldKeys方法的具体用法?PHP CRM_Event_DAO_Participant::_fieldKeys怎么用?PHP CRM_Event_DAO_Participant::_fieldKeys使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CRM_Event_DAO_Participant
的用法示例。
在下文中一共展示了CRM_Event_DAO_Participant::_fieldKeys方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
/**
* Returns an array containing, for each field, the arary key used for that
* field in self::$_fields.
*
* @return array
*/
static function &fieldKeys()
{
if (!self::$_fieldKeys) {
self::$_fieldKeys = array('id' => 'participant_id', 'contact_id' => 'participant_contact_id', 'event_id' => 'event_id', 'status_id' => 'participant_status_id', 'role_id' => 'participant_role_id', 'register_date' => 'participant_register_date', 'source' => 'participant_source', 'fee_level' => 'participant_fee_level', 'is_test' => 'participant_is_test', 'is_pay_later' => 'participant_is_pay_later', 'fee_amount' => 'participant_fee_amount', 'registered_by_id' => 'participant_registered_by_id', 'discount_id' => 'participant_discount_id', 'fee_currency' => 'participant_fee_currency', 'campaign_id' => 'participant_campaign_id', 'discount_amount' => 'discount_amount', 'cart_id' => 'cart_id', 'must_wait' => 'must_wait', 'transferred_to_contact_id' => 'transferred_to_contact_id');
}
return self::$_fieldKeys;
}