\FacebookUser
Provides the extra fields needed to store a user
Synopsis
class FacebookUser
extends DataExtension
{
- // members
- public static Facebook $facebook;
- protected boolean $allowDuplicateFacebookAccounts = false;
- protected boolean $overwriteExistingFacebookAccount = false;
- public static array $db = ;
- // methods
- public void updateCMSFields()
- public void setAllowDuplicateFacebookAccounts()
- public boolean getAllowDuplicateFacebookAccounts()
- public void setOverwriteExistingFacebookAccount()
- public boolean getOverwriteExistingFacebookAccount()
- public void validate()
- public ValidationResult connectFacebookAccount()
- public boolean disconnectFacebookAccount()
- public void memberLoggedOut()
Hierarchy
Extends
- DataExtension
Members
protected
- $allowDuplicateFacebookAccounts
—
boolean
Whether or not to allow duplicate Facebook accounts on the same DataObject type. - $overwriteExistingFacebookAccount
—
boolean
Whether or not to overwrite existing Facebook account data on the current DataObject.
public
- $db
- $facebook
—
Facebook
Stores the users' instance of Facebook
Methods
public
- connectFacebookAccount() — This connects the given facebook account to the current DataObject
- disconnectFacebookAccount() — This will disconnect a DataObject from its associated Facebook account.
- getAllowDuplicateFacebookAccounts() — Fetch whether or not we're allowing duplicate facebook accounts on this dataobject type.
- getOverwriteExistingFacebookAccount() — Get whether or not we can overwrite existing facebook account data.
- memberLoggedOut() — Clears out the facebook session keys.
- setAllowDuplicateFacebookAccounts() — Set whether or not to allow duplicate facebook accounts on this type of DataObject
- setOverwriteExistingFacebookAccount() — Set whether or not we should overwrite existing records.
- updateCMSFields() — This method holds the functionality to complete the oauth flow through the CMS
- validate() — Validate writing of the Facebook Account