Exemple #1
0
 public function __construct()
 {
     parent::__construct();
     $this->_enable_in_wizard = false;
     $this->_enable_in_hover = true;
     $this->_enable_in_admin_display = false;
     $this->_enable_in_admin_mapping = false;
     $this->_required_config_fields = array('dnb_username', 'dnb_password');
 }
Exemple #2
0
 public function __construct()
 {
     parent::__construct();
     $this->_enable_in_wizard = false;
     $this->_enable_in_hover = false;
     $this->_enable_in_admin_display = false;
     $this->_enable_in_admin_mapping = false;
     $this->_required_config_fields = array('auth_id', 'auth_token', 'src_phone');
 }
Exemple #3
0
 public function __construct()
 {
     parent::__construct();
     global $app_list_strings;
     //Used for testing
     $this->_enable_in_admin_mapping = false;
     $this->_has_testing_enabled = false;
     $this->_enable_in_admin_search = false;
     //Used to enable hover for the formatter
     $this->_enable_in_hover = false;
     $this->allowedModuleList = array('Accounts' => $app_list_strings['moduleList']['Accounts'], 'Contacts' => $app_list_strings['moduleList']['Contacts'], 'Leads' => $app_list_strings['moduleList']['Leads']);
 }
Exemple #4
0
 public function saveMappingHook($mapping)
 {
     $removeList = $this->allowedModuleList;
     if (is_array($mapping['beans'])) {
         foreach ($mapping['beans'] as $module => $ignore) {
             unset($removeList[$module]);
             check_logic_hook_file($module, 'after_ui_frame', array(1, $module . ' InsideView frame', 'modules/Connectors/connectors/sources/ext/rest/insideview/InsideViewLogicHook.php', 'InsideViewLogicHook', 'showFrame'));
         }
     }
     foreach ($removeList as $module) {
         remove_logic_hook($module, 'after_ui_frame', array(1, $module . ' InsideView frame', 'modules/Connectors/connectors/sources/ext/rest/insideview/InsideViewLogicHook.php', 'InsideViewLogicHook', 'showFrame'));
     }
     return parent::saveMappingHook($mapping);
 }
 public function __construct()
 {
     parent::__construct();
     $this->_enable_in_wizard = false;
     $this->_enable_in_hover = true;
 }
Exemple #6
0
 public function __destruct()
 {
     parent::__destruct();
 }
 public function saveMappingHook($mapping)
 {
     parent::saveMappingHook($mapping);
     $this->savePhone_mappings();
 }