|
| __construct ($aModule) |
|
| _actionAdministration ($sOptionApiKey, $sLangSettingsTitle, $sLangInfoTitle='', $sLangInfoText='', $sInfoTextParam='') |
|
| setLogged ($iProfileId, $sPassword, $sCallbackUrl='', $bRedirect=true) |
|
| getAlternativeName ($sNickName) |
|
| getJoinAfterPaymentPage ($aProfileInfo) |
|
| processJoinAfterPayment (&$oAlert) |
|
| _assignAvatar ($sAvatarUrl, $iProfileId=false) |
|
| _createProfile ($aProfileInfo, $sAlternativeName='') |
|
| _createProfileRaw ($aProfileInfo, $sAlternativeName='', $isAutoFriends=true, $isSetLoggedIn=true) |
|
| _getJoinPage ($aProfileFields, $iRemoteProfileId) |
|
| _getRedirectUrl ($iProfileId, $isExistingProfile=false) |
|
| isLogged () |
|
| getUserId () |
|
| getUserPassword () |
|
| getTitleKey ($sUri) |
|
| serviceGetBaseUrl () |
|
Definition at line 10 of file ChWsbConnectModule.php.
◆ __construct()
ChWsbConnectModule::__construct |
( |
|
$aModule | ) |
|
◆ _actionAdministration()
ChWsbConnectModule::_actionAdministration |
( |
|
$sOptionApiKey, |
|
|
|
$sLangSettingsTitle, |
|
|
|
$sLangInfoTitle = '' , |
|
|
|
$sLangInfoText = '' , |
|
|
|
$sInfoTextParam = '' |
|
) |
| |
◆ _assignAvatar()
ChWsbConnectModule::_assignAvatar |
( |
|
$sAvatarUrl, |
|
|
|
$iProfileId = false |
|
) |
| |
◆ _convertRemoteFields()
ChWsbConnectModule::_convertRemoteFields |
( |
|
$aProfileInfo, |
|
|
|
$sAlternativeName = '' |
|
) |
| |
|
protected |
◆ _createProfile()
ChWsbConnectModule::_createProfile |
( |
|
$aProfileInfo, |
|
|
|
$sAlternativeName = '' |
|
) |
| |
Create new profile;
- Parameters
-
: | $aProfileInfo | (array) - remote profile's information; |
: | $sAlternativeName | (string) - profiles alternative nickname; |
Definition at line 193 of file ChWsbConnectModule.php.
◆ _createProfileRaw()
ChWsbConnectModule::_createProfileRaw |
( |
|
$aProfileInfo, |
|
|
|
$sAlternativeName = '' , |
|
|
|
$isAutoFriends = true , |
|
|
|
$isSetLoggedIn = true |
|
) |
| |
Create new profile;
- Parameters
-
: | $aProfileInfo | (array) - remote profile's information; |
: | $sAlternativeName | (string) - profiles alternative nickname; |
- Returns
- : error string or error or profile info array on success
Definition at line 254 of file ChWsbConnectModule.php.
◆ _getJoinPage()
ChWsbConnectModule::_getJoinPage |
( |
|
$aProfileFields, |
|
|
|
$iRemoteProfileId |
|
) |
| |
Get join page
- Parameters
-
$aProfileFields | array |
$iRemoteProfileId | remote profile id |
- Returns
- void
Definition at line 396 of file ChWsbConnectModule.php.
◆ _getRedirectUrl()
ChWsbConnectModule::_getRedirectUrl |
( |
|
$iProfileId, |
|
|
|
$isExistingProfile = false |
|
) |
| |
get redirect URL
- Parameters
-
$iProfileId | integer - profile ID |
- Returns
- string redirect URL
Definition at line 422 of file ChWsbConnectModule.php.
◆ _redirect()
ChWsbConnectModule::_redirect |
( |
|
$sUrl, |
|
|
|
$iStatus = 302 |
|
) |
| |
|
protected |
◆ getAlternativeName()
ChWsbConnectModule::getAlternativeName |
( |
|
$sNickName | ) |
|
get profile's alternative nickname
- Parameters
-
- Returns
- suffix to add to nickname to make it unique
Definition at line 93 of file ChWsbConnectModule.php.
◆ getJoinAfterPaymentPage()
ChWsbConnectModule::getJoinAfterPaymentPage |
( |
|
$aProfileInfo | ) |
|
get 'join after payment' page
- Parameters
-
$aProfileInfo | array remote profile info |
- Returns
- void
Definition at line 116 of file ChWsbConnectModule.php.
◆ processJoinAfterPayment()
ChWsbConnectModule::processJoinAfterPayment |
( |
& |
$oAlert | ) |
|
◆ setLogged()
ChWsbConnectModule::setLogged |
( |
|
$iProfileId, |
|
|
|
$sPassword, |
|
|
|
$sCallbackUrl = '' , |
|
|
|
$bRedirect = true |
|
) |
| |
Logged profile
- Parameters
-
$iProfileId | integer |
$sPassword | string |
$sCallbackUrl | |
$bRedirect | boolean |
- Returns
- void
Definition at line 73 of file ChWsbConnectModule.php.
The documentation for this class was generated from the following file: