Свойство | Type | Description | |
---|---|---|---|
$BaseApiUrl | Twitter's URL. |
Свойство | Type | Description | |
---|---|---|---|
$_AccessToken | string | ||
$_RedirectUri | string |
Méthode | Description | |
---|---|---|
accessToken ( string $Token = null, string $Secret = null ) : OAuthToken | Gets/sets the current oauth access token. | |
api ( $Url, null $Params = null, string $Method = 'GET' ) : mixed | string | ||
authorize ( boolean $Query = false ) | ||
base_AfterReactions_handler ( $Sender, $Args ) | Add 'Twitter' option to the row. | |
base_BeforeSignInButton_handler ( $Sender, $Args ) | ||
base_beforeSignInLink_handler ( $Sender ) | ||
base_connectData_handler ( Gdn_Controller $Sender, array $Args ) | ||
base_discussionFormOptions_handler ( $Sender, $Args ) | ||
base_getConnections_handler ( $Sender, $Args ) | ||
base_signInIcons_handler ( $Sender, $Args ) | ||
commentModel_afterSaveComment_handler ( $Sender, $Args ) | ||
deleteOAuthToken ( $Token ) | ||
discussionController_afterBodyField_handler ( $Sender, $Args ) | ||
discussionModel_afterSaveDiscussion_handler ( $Sender, $Args ) | ||
entryController_signIn_handler ( Gdn_Controller $Sender, $Args ) | ||
entryController_twauthorize_create ( $Sender, string $Dir = '' ) | ||
getAccessToken ( $RequestToken, $Verifier ) : OAuthToken | ||
getOAuthToken ( $Token ) : null | OAuthToken | ||
getProfile ( ) : mixed | string | ||
isConfigured ( ) : boolean | ||
postController_twitter_create ( PostController $Sender, type $RecordType, type $ID ) | ||
profileConnecUrl ( ) : string | ||
profileController_twitterConnect_create ( ProfileController $Sender, type $UserReference = '', type $Username = '', type $oauth_token = '', type $oauth_verifier = '' ) | ||
redirectUri ( null $NewValue = null ) : null | string | ||
setOAuthToken ( $Token, null $Secret = null, string $Type = 'request' ) | ||
setup ( ) | ||
socialController_twitter_create ( $Sender, $Args ) | ||
socialReactions ( ) : boolean | ||
socialSharing ( ) : boolean | ||
socialSignIn ( ) : boolean | ||
structure ( ) | Perform any necessary database or configuration updates. |
Méthode | Description | |
---|---|---|
_authorizeHref ( boolean $Popup = false ) : string | ||
_curl ( OAuthRequest $Request, $Post = null ) | ||
addReactButton ( $Sender, $Args ) | Output Quote link. |
Méthode | Description | |
---|---|---|
_getButton ( ) : string |
protected _authorizeHref ( boolean $Popup = false ) : string | ||
$Popup | boolean | |
Résultat | string |
protected _curl ( OAuthRequest $Request, $Post = null ) | ||
$Request | OAuthRequest |
public accessToken ( string $Token = null, string $Secret = null ) : OAuthToken | ||
$Token | string | |
$Secret | string | |
Résultat | OAuthToken |
public base_AfterReactions_handler ( $Sender, $Args ) |
public base_BeforeSignInButton_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public base_beforeSignInLink_handler ( $Sender ) | ||
$Sender |
public base_connectData_handler ( Gdn_Controller $Sender, array $Args ) | ||
$Sender | Gdn_Controller | |
$Args | array |
public base_discussionFormOptions_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public base_getConnections_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public base_signInIcons_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public commentModel_afterSaveComment_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public discussionController_afterBodyField_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public discussionModel_afterSaveDiscussion_handler ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public entryController_signIn_handler ( Gdn_Controller $Sender, $Args ) | ||
$Sender | Gdn_Controller |
public entryController_twauthorize_create ( $Sender, string $Dir = '' ) | ||
$Sender | ||
$Dir | string |
public getAccessToken ( $RequestToken, $Verifier ) : OAuthToken | ||
$RequestToken | ||
$Verifier | ||
Résultat | OAuthToken |
public getOAuthToken ( $Token ) : null | OAuthToken | ||
$Token | ||
Résultat | null | OAuthToken |
public postController_twitter_create ( PostController $Sender, type $RecordType, type $ID ) | ||
$Sender | PostController | |
$RecordType | type | |
$ID | type |
public static profileConnecUrl ( ) : string | ||
Résultat | string |
public profileController_twitterConnect_create ( ProfileController $Sender, type $UserReference = '', type $Username = '', type $oauth_token = '', type $oauth_verifier = '' ) | ||
$Sender | ProfileController | |
$UserReference | type | |
$Username | type | |
$oauth_token | type | |
$oauth_verifier | type |
public setOAuthToken ( $Token, null $Secret = null, string $Type = 'request' ) | ||
$Token | ||
$Secret | null | |
$Type | string |
public socialController_twitter_create ( $Sender, $Args ) | ||
$Sender | ||
$Args |
public structure ( ) |