function BxDolphConConfig($aModule)
 {
     parent::BxDolConnectConfig($aModule);
     $this->sApiID = getParam('bx_dolphcon_api_key');
     $this->sApiSecret = getParam('bx_dolphcon_connect_secret');
     $this->sApiUrl = trim(getParam('bx_dolphcon_connect_url'), '/') . (getParam('bx_dolphcon_connect_url_rewrite') ? '/m/oauth2/' : '/modules/?r=oauth2/');
     $this->sSessionUid = 'dolphcon_session';
     $this->sSessionProfile = 'dolphcon_session_profile';
     $this->sEmailTemplatePasswordGenerated = 't_bx_dolphcon_password_generated';
     $this->sDefaultTitleLangKey = '_bx_dolphcon';
     $this->sPageStart = BX_DOL_URL_ROOT . $this->getBaseUri() . 'start';
     $this->sPageHandle = BX_DOL_URL_ROOT . $this->getBaseUri() . 'handle';
     $this->sRedirectPage = getParam('bx_dolphcon_connect_redirect_page');
 }
 function __construct($aModule)
 {
     parent::__construct($aModule);
     $this->mApiID = getParam('bx_facebook_connect_api_key');
     $this->mApiSecret = getParam('bx_facebook_connect_secret');
     $this->sPageReciver = BX_DOL_URL_ROOT . $this->getBaseUri() . 'login_callback';
     $this->sSessionUid = 'facebook_session';
     $this->sSessionProfile = 'facebook_session_profile';
     $this->sEmailTemplatePasswordGenerated = 't_fb_connect_password_generated';
     $this->sDefaultTitleLangKey = '_bx_facebook';
     $this->sRedirectPage = getParam('bx_facebook_connect_redirect_page');
     $this->bAutoFriends = 'on' == getParam('bx_facebook_connect_auto_friends') ? true : false;
     $this->aFaceBookReqParams = array('scope' => getParam('bx_facebook_connect_extended_info') ? 'email,public_profile,user_friends,user_birthday,user_about_me,user_hometown,user_location' : 'email,public_profile,user_friends', 'redirect_uri' => $this->sPageReciver);
     $this->sFaceBookFields = getParam('bx_facebook_connect_extended_info') ? 'name,email,first_name,last_name,gender,birthday,bio,hometown,location' : 'name,email,first_name,last_name,gender';
 }