Archive: Namaste PHP AMQP framework v1.0 (2017-2020)
952 days continuous production uptime, 40k+ tp/s single node. Original corpo Bitbucket history not included — clean archive commit.
This commit is contained in:
38
common/plCatalog.php
Normal file
38
common/plCatalog.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* This constants file contains all the Priceline.com schema constants and should only appear in Priceline (pl)
|
||||
* templates. This file exists in both SMAX and Namaste so please update the other when you update one.
|
||||
*
|
||||
*
|
||||
* @author mike@givingassistant.org
|
||||
* @version 1.0
|
||||
*
|
||||
*
|
||||
* HISTORY:
|
||||
* ========
|
||||
* 06-12-20 mks ECI-164: original coding
|
||||
*
|
||||
*/
|
||||
|
||||
// Donors Table
|
||||
// ---- schema constants
|
||||
const TEMPLATE_PL_DONORS = 'Donors'; // template's raw name
|
||||
const COLLECTION_MONGO_PL_DONORS = 'plDonors'; // name of the mongo collection
|
||||
const COLLECTION_PL_DONORS_EXT = '_don'; // name of the extension for the Donors collection
|
||||
// ---- schema column names
|
||||
const PL_CID = 'plCauseID';
|
||||
const PL_CAUSE_TITLE = 'plCauseTitle';
|
||||
const PL_DONATIONS_TCC = 'plDonationsToCurrentCause';
|
||||
const PL_FK = 'plForeignId';
|
||||
const PL_SHARE_DATA_WITH_CAUSE = 'plShareDataWithCause';
|
||||
const PL_TOT_DONS = 'plTotalDonations';
|
||||
const PL_TRANS_COUNT = 'plTransactionCount';
|
||||
// ---- cache-mapped column names
|
||||
const PL_CM_CAUSE_TITLE = 'causeTitle';
|
||||
const PL_CM_CID = 'cid';
|
||||
const PL_CM_DTCC = 'donationsToCurrentCause';
|
||||
const PL_CM_FK = 'foreignId';
|
||||
const PL_CM_SDWC = 'shareDataWithCause';
|
||||
const PL_CM_TD = 'totalDonations';
|
||||
const PL_CM_TC = 'transactionCount';
|
||||
const PL_CM_SMAX_KEY = 'XAPIKEY';
|
||||
Reference in New Issue
Block a user