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:
2026-04-05 09:49:30 -07:00
commit 373ebc8c93
1284 changed files with 409372 additions and 0 deletions

38
common/plCatalog.php Normal file
View 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';