当前位置: 首页>>代码示例>>PHP>>正文


PHP CRM_Event_DAO_Event::_fieldKeys方法代码示例

本文整理汇总了PHP中CRM_Event_DAO_Event::_fieldKeys方法的典型用法代码示例。如果您正苦于以下问题:PHP CRM_Event_DAO_Event::_fieldKeys方法的具体用法?PHP CRM_Event_DAO_Event::_fieldKeys怎么用?PHP CRM_Event_DAO_Event::_fieldKeys使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CRM_Event_DAO_Event的用法示例。


在下文中一共展示了CRM_Event_DAO_Event::_fieldKeys方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

 /**
  * Returns an array containing, for each field, the arary key used for that
  * field in self::$_fields.
  *
  * @access public
  * @return array
  */
 static function &fieldKeys()
 {
     if (!self::$_fieldKeys) {
         self::$_fieldKeys = array('id' => 'id', 'title' => 'event_title', 'summary' => 'summary', 'description' => 'event_description', 'event_type_id' => 'event_type_id', 'participant_listing_id' => 'participant_listing_id', 'is_public' => 'is_public', 'start_date' => 'event_start_date', 'end_date' => 'event_end_date', 'is_online_registration' => 'is_online_registration', 'registration_link_text' => 'registration_link_text', 'registration_start_date' => 'registration_start_date', 'registration_end_date' => 'registration_end_date', 'max_participants' => 'max_participants', 'event_full_text' => 'event_full_text', 'is_monetary' => 'is_monetary', 'financial_type_id' => 'financial_type_id', 'payment_processor' => 'payment_processor', 'is_map' => 'is_map', 'is_active' => 'is_active', 'fee_label' => 'fee_label', 'is_show_location' => 'is_show_location', 'loc_block_id' => 'loc_block_id', 'default_role_id' => 'default_role_id', 'intro_text' => 'intro_text', 'footer_text' => 'footer_text', 'confirm_title' => 'confirm_title', 'confirm_text' => 'confirm_text', 'confirm_footer_text' => 'confirm_footer_text', 'is_email_confirm' => 'is_email_confirm', 'confirm_email_text' => 'confirm_email_text', 'confirm_from_name' => 'confirm_from_name', 'confirm_from_email' => 'confirm_from_email', 'cc_confirm' => 'cc_confirm', 'bcc_confirm' => 'bcc_confirm', 'default_fee_id' => 'default_fee_id', 'default_discount_fee_id' => 'default_discount_fee_id', 'thankyou_title' => 'thankyou_title', 'thankyou_text' => 'thankyou_text', 'thankyou_footer_text' => 'thankyou_footer_text', 'is_pay_later' => 'is_pay_later', 'pay_later_text' => 'pay_later_text', 'pay_later_receipt' => 'pay_later_receipt', 'is_partial_payment' => 'is_partial_payment', 'initial_amount_label' => 'initial_amount_label', 'initial_amount_help_text' => 'initial_amount_help_text', 'min_initial_amount' => 'min_initial_amount', 'is_multiple_registrations' => 'is_multiple_registrations', 'allow_same_participant_emails' => 'allow_same_participant_emails', 'has_waitlist' => 'has_waitlist', 'requires_approval' => 'requires_approval', 'expiration_time' => 'expiration_time', 'waitlist_text' => 'waitlist_text', 'approval_req_text' => 'approval_req_text', 'is_template' => 'is_template', 'template_title' => 'template_title', 'created_id' => 'created_id', 'created_date' => 'created_date', 'currency' => 'currency', 'campaign_id' => 'campaign_id', 'is_share' => 'is_share', 'parent_event_id' => 'parent_event_id', 'slot_label_id' => 'slot_label_id');
     }
     return self::$_fieldKeys;
 }
开发者ID:hguru,项目名称:224Civi,代码行数:14,代码来源:Event.php


注:本文中的CRM_Event_DAO_Event::_fieldKeys方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。