Ejemplo n.º 1
0
 /**
  * class constructor
  */
 function __construct($config_name)
 {
     parent::__construct($config_name);
     // read config, set defaults
     $config = $this->_plugin_config;
     if (!isset($config->rules)) {
         $config->rules = array();
     }
     // see https://github.com/Project60/org.project60.banking/issues/111
     if (!isset($config->variable_lookup_compatibility)) {
         $config->variable_lookup_compatibility = FALSE;
     }
 }
 /**
  * class constructor
  */
 function __construct($config_name)
 {
     parent::__construct($config_name);
     // read config, set defaults
     $config = $this->_plugin_config;
     if (!isset($config->lookup_org_account_mode)) {
         $config->lookup_org_account_mode = 'off';
     }
     // one of 'off', 'fill', 'update'
     if (!isset($config->lookup_org_account_prefix)) {
         $config->lookup_org_account_prefix = '_';
     }
     // '/^(_NBAN_..|_IBAN)$/';
     if (!isset($config->lookup_donor_account_mode)) {
         $config->lookup_donor_account_mode = 'update';
     }
     // one of 'off', 'fill', 'update'
     if (!isset($config->lookup_donor_account_prefix)) {
         $config->lookup_donor_account_prefix = '_party_';
     }
     //^(_party_NBAN_..|_party_IBAN)$/';
 }