shares
extends tablelist
in package
Artikel Objekt
Tags
Table of Contents
- $cache : cache
- System-Cache
- $cacheModule : string
- Cache Modul
- $cacheName : string
- Cache name
- $config : config
- System-Config-Objekt
- $data : array<string|int, mixed>
- Data array
- $dbcon : database
- DB-Verbindung
- $events : events
- Event-Liste
- $language : language
- System-Sprachen-Objekt
- $notifications : notifications
- Notifications
- $sharesCache : array<string|int, mixed>
- Articles shares count cache
- $table : string
- Tabellen-Name
- __construct() : void
- Konstruktor
- __destruct() : void
- Konstruktor
- getAllRegisteredShares() : array<string|int, mixed>
- Get all registered share button providers
- getByArticleId() : array<string|int, mixed>
- Fetch share count by article id, item can be give via $item
- getRegisteredShares() : string
- Check if a certain share item is registered
- getSharesCountByArticles() : array<string|int, mixed>
- Fetch share count sum for all articles
Properties
$cache
System-Cache
protected
cache
$cache
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
Tags
$cacheName
Cache name
protected
string
$cacheName
= false
$config
System-Config-Objekt
protected
config
$config
$data
Data array
protected
array<string|int, mixed>
$data
= []
Tags
$dbcon
DB-Verbindung
protected
database
$dbcon
$events
Event-Liste
protected
events
$events
$language
System-Sprachen-Objekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
Tags
$sharesCache
Articles shares count cache
protected
array<string|int, mixed>
$sharesCache
= []
Tags
$table
Tabellen-Name
protected
string
$table
Methods
__construct()
Konstruktor
public
__construct() : void
Return values
void —__destruct()
Konstruktor
public
__destruct() : void
Return values
void —getAllRegisteredShares()
Get all registered share button providers
public
static getAllRegisteredShares() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getByArticleId()
Fetch share count by article id, item can be give via $item
public
getByArticleId(int $articleId[, string $item = null ]) : array<string|int, mixed>
Parameters
- $articleId : int
- $item : string = null
Return values
array<string|int, mixed> —getRegisteredShares()
Check if a certain share item is registered
public
static getRegisteredShares(string $item) : string
Parameters
- $item : string
Return values
string —getSharesCountByArticles()
Fetch share count sum for all articles
public
getSharesCountByArticles([array<string|int, mixed> $ids = [] ]) : array<string|int, mixed>
Parameters
- $ids : array<string|int, mixed> = []