twitterSettings
extends configObj
in package
System config item for Twitter settings
Tags
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_key
API consumer key
public
string
$consumer_key
= ''
$consumer_secret
API consumer secret
public
string
$consumer_secret
= ''
$user_secret
API user secret
public
string
$user_secret
= ''
$user_token
API user token
public
string
$user_token
= ''
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>