change access modifiers

This commit is contained in:
Marc Michalsky forumZFD 2020-10-27 10:46:26 +01:00
parent bb373f71b1
commit 636929214d
Signed by untrusted user who does not match committer: marc.koch
GPG key ID: 12406554CFB028B9

View file

@ -18,8 +18,10 @@ include_once E::path() . '/CRM/TwingleCampaign/BAO/TwingleProjectOptions.php';
class TwingleProject { class TwingleProject {
// IN means: heading into CiviCRM database
public const IN = 'IN'; public const IN = 'IN';
// OUT means: coming from the CiviCRM database
public const OUT = 'OUT'; public const OUT = 'OUT';
public const CIVICRM = 'CIVICRM'; public const CIVICRM = 'CIVICRM';
@ -28,13 +30,13 @@ class TwingleProject {
private static $bInitialized = FALSE; private static $bInitialized = FALSE;
private static $customFieldMapping; public static $customFieldMapping;
private static $translations; public static $translations;
private static $campaigns; public static $campaigns;
private static $templates; public static $templates;
private $id; private $id;
@ -534,7 +536,7 @@ class TwingleProject {
* names * names
* *
*/ */
private static function translateCustomFields(array &$values, string $direction) { public static function translateCustomFields(array &$values, string $direction) {
// Translate from Twingle field name to custom field name // Translate from Twingle field name to custom field name
if ($direction == self::IN) { if ($direction == self::IN) {