Table of Contents
Constants
-
DB_NAME
= 'twitter'
-
DIR_HTML
= 'mod/twitter/res/html/'
-
DIR_IMAGES
= 'mod/twitter/res/pics/'
-
HTTP_CACHETIME
= -1
-
TWITTER_URL_FETCH
= 'https://twitter.com/%s'
-
TWITTER_URL_FETCH_ALL
= 'https://twitter.com/%s/with_replies'
-
TWITTER_URL_FETCH_MEDIA
= 'https://twitter.com/%s/media'
-
TWITTER_URL_HTML
= 'https://twitter.com%s'
-
TWITTER_URL_MEDIA
= 'https://twitter.com/i/tweet/html?id=%s&modal=gallery'
-
TWITTER_URL_RSS
= 'https://queryfeed.net/tw?q=%%40%s'
-
TWITTER_URL_TWEET
= 'https://twitter.com/%s/status/%s'
-
URL_HTML
= '/getResource.php/twitter/html/'
-
URL_IMAGES
= '/getResource.php/twitter/pics/'
-
VERSION
= 31
Properties
-
$dbmsTable
: mixed
-
$dbName
: mixed
-
$doc
: mixed
-
$dom
: mixed
-
$tableName
: mixed
-
$userName
: mixed
-
$xpath
: mixed
Methods
-
__construct()
: mixed
-
asNode()
: mixed
-
fetch()
: mixed
-
fetchOLD()
: mixed
-
fetchTweet()
: mixed
-
getTextList()
: mixed
-
getUserList()
: mixed
-
upgrade()
: mixed
-
downloadHTML()
: mixed
-
downloadImage()
: mixed
-
downloadJSON()
: mixed
-
downloadTweet()
: mixed
-
downloadXPath()
: mixed
-
install()
: mixed
-
parseNodeOLD()
: mixed
-
parseTweet()
: mixed
DB_NAME
public
mixed
DB_NAME
= 'twitter'
DIR_HTML
public
mixed
DIR_HTML
= 'mod/twitter/res/html/'
DIR_IMAGES
public
mixed
DIR_IMAGES
= 'mod/twitter/res/pics/'
HTTP_CACHETIME
public
mixed
HTTP_CACHETIME
= -1
public
mixed
TWITTER_URL_FETCH
= 'https://twitter.com/%s'
public
mixed
TWITTER_URL_FETCH_ALL
= 'https://twitter.com/%s/with_replies'
public
mixed
TWITTER_URL_FETCH_MEDIA
= 'https://twitter.com/%s/media'
public
mixed
TWITTER_URL_HTML
= 'https://twitter.com%s'
public
mixed
TWITTER_URL_MEDIA
= 'https://twitter.com/i/tweet/html?id=%s&modal=gallery'
public
mixed
TWITTER_URL_RSS
= 'https://queryfeed.net/tw?q=%%40%s'
public
mixed
TWITTER_URL_TWEET
= 'https://twitter.com/%s/status/%s'
URL_HTML
public
mixed
URL_HTML
= '/getResource.php/twitter/html/'
URL_IMAGES
public
mixed
URL_IMAGES
= '/getResource.php/twitter/pics/'
VERSION
public
mixed
VERSION
= 31
$dbmsTable
protected
mixed
$dbmsTable
$dbName
protected
mixed
$dbName
$doc
protected
mixed
$doc
$dom
protected
mixed
$dom
$tableName
protected
mixed
$tableName
$userName
protected
mixed
$userName
$xpath
protected
mixed
$xpath
__construct()
public
__construct(mixed $userName[, mixed $autocreate = false ]) : mixed
Parameters
-
$userName
: mixed
-
-
$autocreate
: mixed
= false
-
asNode()
public
asNode(DOMDocument $dataDoc, array<string|int, mixed> $options) : mixed
Parameters
-
$dataDoc
: DOMDocument
-
-
$options
: array<string|int, mixed>
-
fetch()
public
fetch([mixed $fetchAll = false ]) : mixed
Parameters
-
$fetchAll
: mixed
= false
-
fetchOLD()
public
fetchOLD() : mixed
public
fetchTweet(mixed $tweetId, mixed $tweetHTML, mixed $isHTML[, mixed $id = null ]) : mixed
Parameters
-
$tweetId
: mixed
-
-
$tweetHTML
: mixed
-
-
$isHTML
: mixed
-
-
$id
: mixed
= null
-
getTextList()
public
getTextList(array<string|int, mixed> $options) : mixed
Parameters
-
$options
: array<string|int, mixed>
-
getUserList()
public
static getUserList() : mixed
upgrade()
public
upgrade() : mixed
downloadHTML()
protected
downloadHTML(mixed $href) : mixed
Parameters
-
$href
: mixed
-
downloadImage()
protected
downloadImage(mixed $href) : mixed
Parameters
-
$href
: mixed
-
downloadJSON()
protected
downloadJSON(mixed $href[, mixed $useCache = false ]) : mixed
Parameters
-
$href
: mixed
-
-
$useCache
: mixed
= false
-
protected
downloadTweet(mixed $tweetId) : mixed
Parameters
-
$tweetId
: mixed
-
downloadXPath()
protected
downloadXPath(mixed $href[, mixed $useCache = false ]) : mixed
Parameters
-
$href
: mixed
-
-
$useCache
: mixed
= false
-
install()
protected
install() : mixed
parseNodeOLD()
protected
parseNodeOLD(DOMNode $tweetNode, mixed $tweetId) : mixed
Parameters
-
$tweetNode
: DOMNode
-
-
$tweetId
: mixed
-
protected
parseTweet(mixed $tweetId, mixed $tweetHTML, mixed $isHTML) : mixed
Parameters
-
$tweetId
: mixed
-
-
$tweetHTML
: mixed
-
-
$isHTML
: mixed
-