Cheetah
ChDolphConConfig.php
Go to the documentation of this file.
1 <?php
2 
8 ch_import('ChWsbConnectConfig');
9 
11 {
12  var $sApiID;
14  var $sApiUrl;
15 
18 
19  var $sScope = 'basic';
20 
22  {
23  parent::__construct($aModule);
24 
25  $this -> sApiID = getParam('ch_dolphcon_api_key');
26  $this -> sApiSecret = getParam('ch_dolphcon_connect_secret');
27  $this -> sApiUrl = trim(getParam('ch_dolphcon_connect_url'), '/') . (getParam('ch_dolphcon_connect_url_rewrite') ? '/m/oauth2/' : '/modules/?r=oauth2/');
28 
29  $this -> sSessionUid = 'dolphcon_session';
30  $this -> sSessionProfile = 'dolphcon_session_profile';
31 
32  $this -> sEmailTemplatePasswordGenerated = 't_ch_dolphcon_password_generated';
33  $this -> sDefaultTitleLangKey = '_ch_dolphcon';
34 
35  $this -> sPageStart = CH_WSB_URL_ROOT . $this -> getBaseUri() . 'start';
36  $this -> sPageHandle = CH_WSB_URL_ROOT . $this -> getBaseUri() . 'handle';
37 
38  $this -> sRedirectPage = getParam('ch_dolphcon_connect_redirect_page');
39  }
40 }
ChDolphConConfig\$sApiUrl
$sApiUrl
Definition: ChDolphConConfig.php:14
ChDolphConConfig\$sScope
$sScope
Definition: ChDolphConConfig.php:19
ChDolphConConfig\$sApiSecret
$sApiSecret
Definition: ChDolphConConfig.php:13
$aModule
$aModule
Definition: classifieds.php:21
ch_import
ch_import($sClassName, $aModule=array())
Definition: utils.inc.php:1218
php
ChWsbConnectConfig
Definition: ChWsbConnectConfig.php:11
ChDolphConConfig\$sApiID
$sApiID
Definition: ChDolphConConfig.php:12
getParam
getParam($sParamName, $bUseCache=true)
Definition: db.inc.php:130
ChDolphConConfig\$sPageStart
$sPageStart
Definition: ChDolphConConfig.php:16
ChDolphConConfig\$sPageHandle
$sPageHandle
Definition: ChDolphConConfig.php:17
ChDolphConConfig\__construct
__construct($aModule)
Definition: ChDolphConConfig.php:21
ChWsbConfig\getBaseUri
getBaseUri()
Definition: ChWsbConfig.php:114
ChDolphConConfig
Definition: ChDolphConConfig.php:11