Exemple #1
0
 function __construct(&$subject, $params)
 {
     $this->_componentFolder = JPATH_SITE . '/components/com_hikashop';
     $this->_componentFile = '';
     parent::__construct($subject, $params);
     $this->defaultSettings->set('import_always', '0');
     $this->defaultSettings->set('registration_show_fields', '0');
     //0=None, 1=Required, 2=All
     $this->defaultSettings->set('imported_show_fields', '0');
     //0=No, 1=Yes
 }
Exemple #2
0
 function __construct(&$subject, $params)
 {
     parent::__construct($subject, $params);
     $this->defaultSettings->set('import_always', '0');
     $this->defaultSettings->set('registration_show_fields', '0');
     //0=None, 1=Required, 2=All
     $this->defaultSettings->set('imported_show_fields', '0');
     //0=No, 1=Yes
     //$this->defaultSettings->set('group_choices', array());
     // Set this for allowing registration through this component
     $this->registration_url = 'index.php?option=com_users&view=registration';
 }
Exemple #3
0
 function __construct(&$subject, $params)
 {
     $this->_componentFolder = '';
     $this->_componentFile = '';
     parent::__construct($subject, $params);
     $this->defaultSettings->set('import_avatar', '0');
     $this->defaultSettings->set('import_always', '1');
     $this->defaultSettings->set('db_name', '');
     $this->defaultSettings->set('db_user', '');
     $this->defaultSettings->set('db_password', '');
     $this->defaultSettings->set('db_table', '');
     $this->defaultSettings->set('db_table_columns', '');
     $this->defaultSettings->set('db_key_column', '');
     $this->defaultSettings->set('db_key_value', '');
     $this->defaultSettings->set('field_map', null);
 }
Exemple #4
0
 protected function importSocialProfile()
 {
     require_once $this->_componentFile;
     parent::importSocialProfile();
 }