twitterEvents
extends configObj
in package
System config item for Twitter event settings
Tags
Table of Contents
- $create : bool
- Tweet on create/ first save
- $timeline : bool
- Fetch twitter timeline
- $update : bool
- Tweet on update/ additional saves
- __construct() : bool
- Constructor
- isConfigured() : bool
- Check if tweet creation is enabled
- 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
$create
Tweet on create/ first save
public
bool
$create
= 0
$timeline
Fetch twitter timeline
public
bool
$timeline
= 0
$update
Tweet on update/ additional saves
public
bool
$update
= 0
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 tweet creation is enabled
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>