moved all const in class
This commit is contained in:
@@ -62,17 +62,28 @@ class PLGNTLS_class
|
||||
const ACF_CARD_PRICE_DELIVERY = 'livraison';
|
||||
const ACF_CARD_PRICE_TOTAL = 'somme_a_regler';
|
||||
const ACF_CARD_EXPIRATION = 'fin_de_validite';
|
||||
CONST ACF_PROF_IS_ACTIV = 'compte-actif';
|
||||
CONST ACF_PROF_CAN_RENEW = 'renouvellement_possible';
|
||||
CONST ACF_PROF_CGV = 'cgv';
|
||||
const ACF_PROF_IS_ACTIV = 'compte-actif';
|
||||
const ACF_PROF_CAN_RENEW = 'renouvellement_possible';
|
||||
const ACF_PROF_CGV = 'cgv';
|
||||
|
||||
const CARD_RENEW_PERIOD = 31; // int : number of days before expiration when renew card start to be possible
|
||||
const CARD_VALIDITY_TIME = '1 year'; // string : time of validity of the card (ex: '1 month' or '1 year' or '60 days')
|
||||
|
||||
CONST SLUG_PROF_INACTIV = 'validation-en-cours';
|
||||
CONST SLUG_RENEW_CARD = 'commande';
|
||||
const SLUG_PROF_INACTIV = 'validation-en-cours';
|
||||
const SLUG_RENEW_CARD = 'commande';
|
||||
const SLUG_PAGE_REDIRECTION = 'redirection_cipf';
|
||||
const SLUG_PAYPAL_REDIRECTION_SUCCESS = self::SLUG_PAGE_REDIRECTION;
|
||||
const SLUG_PAYPAL_REDIRECTION_FAILURE = self::SLUG_PAGE_REDIRECTION;
|
||||
|
||||
const USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
|
||||
|
||||
const PAYPAL_CLIENT_ID = "AfcmwxIXlG2ZxaMdjazX57I70BXz__aEqNWaTnqfSCI34a0V7nMbytswx7EViUjlpHs7opyrRwaH9YLl";
|
||||
const PAYPAL_CLIENT_SECRET = "EGunIhGRjPvn0Z8wXO0JsdhET30OStTAH_IyRsmhimEN23_qiRSFD-ql4tvnulKJw6TitZ-vU-ytc4A-";
|
||||
const PAYPAL_API_BASE_URL = "https://api-m.sandbox.paypal.com";
|
||||
const PAYPAL_MESSAGE_SUCCESS = '`paiement reussi`';
|
||||
const PAYPAL_MESSAGE_FAILURE = '`paiement raté`';
|
||||
|
||||
|
||||
CONST USER_INFO_DATE_FORMAT = 'd/m/Y'; // for user_infos.php (date format : https://www.php.net/manual/fr/datetime.format.php)
|
||||
|
||||
private static $_root_path;
|
||||
private static $_root_url;
|
||||
|
||||
Reference in New Issue
Block a user