|
| | __construct (&$aModule) |
| |
| | actionAdministration () |
| |
| | actionLoginCallback () |
| |
| | actionLoginForm () |
| |
| | serviceSupported () |
| |
| | serviceLogin ($aFacebookProfileInfo, $sToken='') |
| |
| | _makeFriends ($iProfileId) |
| |
| | _proccesNickName ($sProfileName) |
| |
| | _setAccessToken ($sToken='') |
| |
| | __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 15 of file ChFaceBookConnectModule.php.
◆ __construct()
| ChFaceBookConnectModule::__construct |
( |
& |
$aModule | ) |
|
Class constructor ;
- Parameters
-
| : | $aModule | (array) - contain some information about this module; [ id ] - (integer) module's id ; [ title ] - (string) module's title ; [ vendor ] - (string) module's vendor ; [ path ] - (string) path to this module ; [ uri ] - (string) this module's URI ; [ class_prefix ] - (string) this module's php classes file prefix ; [ db_prefix ] - (string) this module's Db tables prefix ; [ date ] - (string) this module's date installation ; |
Definition at line 32 of file ChFaceBookConnectModule.php.
◆ _convertRemoteFields()
| ChFaceBookConnectModule::_convertRemoteFields |
( |
|
$aProfileInfo, |
|
|
|
$sAlternativeName = '' |
|
) |
| |
|
protected |
- Parameters
-
| $aProfileInfo | - remote profile info |
| $sAlternativeName | - suffix to add to NickName to make it unique |
- Returns
- profile array info, ready for the local database
Reimplemented from ChWsbConnectModule.
Definition at line 340 of file ChFaceBookConnectModule.php.
◆ _makeFriends()
| ChFaceBookConnectModule::_makeFriends |
( |
|
$iProfileId | ) |
|
◆ _proccesNickName()
| ChFaceBookConnectModule::_proccesNickName |
( |
|
$sProfileName | ) |
|
Function will clear all unnecessary sybmols from profile's nickname;
- Parameters
-
| : | $sProfileName | (string) - profile's nickname; |
- Returns
- : (string) - cleared nickname;
Definition at line 401 of file ChFaceBookConnectModule.php.
◆ _setAccessToken()
| ChFaceBookConnectModule::_setAccessToken |
( |
|
$sToken = '' | ) |
|
◆ actionAdministration()
| ChFaceBookConnectModule::actionAdministration |
( |
| ) |
|
Function will generate facebook's admin page;
- Returns
- : (text) - html presentation data;
Definition at line 56 of file ChFaceBookConnectModule.php.
◆ actionLoginCallback()
| ChFaceBookConnectModule::actionLoginCallback |
( |
| ) |
|
◆ actionLoginForm()
| ChFaceBookConnectModule::actionLoginForm |
( |
| ) |
|
◆ serviceLogin()
| ChFaceBookConnectModule::serviceLogin |
( |
|
$aFacebookProfileInfo, |
|
|
|
$sToken = '' |
|
) |
| |
◆ serviceSupported()
| ChFaceBookConnectModule::serviceSupported |
( |
| ) |
|
◆ $oFacebook
| ChFaceBookConnectModule::$oFacebook |
The documentation for this class was generated from the following file: