twitter
extends staticModel
in
tmhOAuth wrapper Objekt für Twitter
Table of Contents
$oAuth | tmhOAuth-Objekt | tmhOAuth |
---|---|---|
$username | bei Twitter angezeigter Benutzername | string |
$data | Data array | array |
$cache | Cache object | cache |
$events | Event list | events |
$config | Config object | config |
$language | Sprachobjekt | language |
$session | Session objekt | session |
$notifications | Notifications | notifications |
$permissions | Permissions | permissions |
$cacheName | Cache name | string |
$cacheModule | Cache Modul | string |
__construct() | Konstruktor | void |
checkRequirements() | Prüft, ob Verbindung zu Twitter hergestellt werden kann | bool |
checkConnection() | Prüft ob Verbindung zu Twitter besteht | bool |
updateStatus() | Sendet Request an Twitter, um Status zu aktualisieren | bool |
log() | Loggt Twitter-response-Daten | bool |
getUsername() | Gibt Twitter-Benutzername zurück | string |
__construct() | Konstruktor | void |
getCacheName() | Cache-Name zurückgeben | string |
Properties
$oAuth
tmhOAuth-Objekt
protected
tmhOAuth
$oAuth
$username
bei Twitter angezeigter Benutzername
protected
string
$username
= ''
$data
Data array
protected
array
$data
$cache
Cache object
protected
cache
$cache
$events
Event list
protected
events
$events
$config
Config object
protected
config
$config
$language
Sprachobjekt
protected
language
$language
$session
Session objekt
protected
session
$session
$notifications
Notifications
protected
notifications
$notifications
$permissions
Permissions
protected
permissions
$permissions
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Methods
__construct()
Konstruktor
public
__construct(
)
: void
checkRequirements()
Prüft, ob Verbindung zu Twitter hergestellt werden kann
public
checkRequirements(
)
: bool
Return values
boolcheckConnection()
Prüft ob Verbindung zu Twitter besteht
public
checkConnection(
)
: bool
Return values
boolupdateStatus()
Sendet Request an Twitter, um Status zu aktualisieren
public
updateStatus(
$text :
string
)
: bool
Parameters
- $text : string
Return values
boollog()
Loggt Twitter-response-Daten
private
log(
)
: bool
Return values
boolgetUsername()
Gibt Twitter-Benutzername zurück
public
getUsername(
)
: string
Return values
string__construct()
Konstruktor
public
__construct(
)
: void
getCacheName()
Cache-Name zurückgeben
public
getCacheName(
[ $addName :
string
= '' ]
)
: string
Parameters
- $addName : string = ''