本文整理匯總了PHP中CRM_Contribute_DAO_Contribution::_fieldKeys方法的典型用法代碼示例。如果您正苦於以下問題:PHP CRM_Contribute_DAO_Contribution::_fieldKeys方法的具體用法?PHP CRM_Contribute_DAO_Contribution::_fieldKeys怎麽用?PHP CRM_Contribute_DAO_Contribution::_fieldKeys使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類CRM_Contribute_DAO_Contribution
的用法示例。
在下文中一共展示了CRM_Contribute_DAO_Contribution::_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' => 'contribution_id', 'contact_id' => 'contribution_contact_id', 'financial_type_id' => 'financial_type_id', 'contribution_page_id' => 'contribution_page_id', 'payment_instrument_id' => 'payment_instrument_id', 'receive_date' => 'receive_date', 'non_deductible_amount' => 'non_deductible_amount', 'total_amount' => 'total_amount', 'fee_amount' => 'fee_amount', 'net_amount' => 'net_amount', 'trxn_id' => 'trxn_id', 'invoice_id' => 'invoice_id', 'currency' => 'currency', 'cancel_date' => 'cancel_date', 'cancel_reason' => 'cancel_reason', 'receipt_date' => 'receipt_date', 'thankyou_date' => 'thankyou_date', 'source' => 'contribution_source', 'amount_level' => 'amount_level', 'contribution_recur_id' => 'contribution_recur_id', 'is_test' => 'is_test', 'is_pay_later' => 'is_pay_later', 'contribution_status_id' => 'contribution_status_id', 'address_id' => 'address_id', 'check_number' => 'check_number', 'campaign_id' => 'contribution_campaign_id', 'creditnote_id' => 'creditnote_id', 'tax_amount' => 'tax_amount');
}
return self::$_fieldKeys;
}