Documentation

twitterSettings extends configObj
in package

System config item for Twitter settings

Tags
author

Stefan Seehafer sea75300@yahoo.de

copyright

(c) 2020, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
4.5.0-rc2

Table of Contents

$consumer_key  : string
API consumer key
$consumer_secret  : string
API consumer secret
$user_secret  : string
API user secret
$user_token  : string
API user token
__construct()  : bool
Constructor
isConfigured()  : bool
Check if twitter settings are configured
offsetExists()  : bool
Check if offset exists
offsetGet()  : mixed
Return offset value
offsetSet()  : void
Set offset value
reset()  : bool
Reset twitter connection settings
toJSON()  : string
Return JSOn string
init()  : mixed
INit data

Properties

$consumer_secret

API consumer secret

public string $consumer_secret = ''

Methods

__construct()

Constructor

public __construct(array<string|int, mixed>|string $data[, mixed $oldConf = null ]) : bool
Parameters
$data : array<string|int, mixed>|string
$oldConf : mixed = null
Return values
bool

isConfigured()

Check if twitter settings are configured

public final isConfigured() : bool
Return values
bool

offsetExists()

Check if offset exists

public offsetExists(int|string $offset) : bool
Parameters
$offset : int|string
Return values
bool

offsetGet()

Return offset value

public offsetGet(int|string $offset) : mixed
Parameters
$offset : int|string
Return values
mixed

offsetSet()

Set offset value

public offsetSet(int|string $offset, mixed $value) : void
Parameters
$offset : int|string
$value : mixed
Return values
void

reset()

Reset twitter connection settings

public final reset() : bool
Return values
bool

toJSON()

Return JSOn string

public final toJSON() : string
Return values
string

init()

INit data

protected final init(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>
Return values
mixed

Search results