shares
extends tablelist
in
Artikel Objekt
Table of Contents
$sharesCache | Articles shares count cache | array |
---|---|---|
$dbcon | DB-Verbindung | database |
$table | Tabellen-Name | string |
$cache | System-Cache | cache |
$events | Event-Liste | events |
$config | System-Config-Objekt | config |
$language | System-Sprachen-Objekt | language |
$notifications | Notifications | notifications |
$cacheName | Cache name | string |
$cacheModule | Cache Modul | string |
$data | Data array | array |
__construct() | Konstruktor | void |
getByArticleId() | Fetch share count by article id, item can be give via $item | array |
getSharesCountByArticles() | Fetch share count sum for all articles | array |
getRegisteredShares() | Check if a certain share item is registered | string |
__construct() | Konstruktor | void |
__call() | Magische Methode für nicht vorhandene Methoden | bool |
__callStatic() | Magische Methode für nicht vorhandene, statische Methoden | bool |
__destruct() | Konstruktor | void |
Properties
$sharesCache
Articles shares count cache
protected
array
$sharesCache
= []
$dbcon
DB-Verbindung
protected
database
$dbcon
$table
Tabellen-Name
protected
string
$table
$cache
System-Cache
protected
cache
$cache
$events
Event-Liste
protected
events
$events
$config
System-Config-Objekt
protected
config
$config
$language
System-Sprachen-Objekt
protected
language
$language
$notifications
Notifications
protected
notifications
$notifications
$cacheName
Cache name
protected
string
$cacheName
= false
$cacheModule
Cache Modul
protected
string
$cacheModule
= ''
$data
Data array
protected
array
$data
= []
Methods
__construct()
Konstruktor
public
__construct(
)
: void
getByArticleId()
Fetch share count by article id, item can be give via $item
public
getByArticleId(
$articleId :
int
[, $item :
string
= null ]
)
: array
Parameters
- $articleId : int
- $item : string = null
Return values
arraygetSharesCountByArticles()
Fetch share count sum for all articles
public
getSharesCountByArticles(
[ $ids :
array
= [] ]
)
: array
Parameters
- $ids : array = []
Tags
Return values
arraygetRegisteredShares()
Check if a certain share item is registered
public
static getRegisteredShares(
$item :
string
)
: string
Parameters
- $item : string
Return values
string__construct()
Konstruktor
public
__construct(
)
: void
__call()
Magische Methode für nicht vorhandene Methoden
public
__call(
$name :
string
, $arguments :
mixed
)
: bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool__callStatic()
Magische Methode für nicht vorhandene, statische Methoden
public
static __callStatic(
$name :
string
, $arguments :
mixed
)
: bool
Parameters
- $name : string
- $arguments : mixed
Return values
bool__destruct()
Konstruktor
public
__destruct(
)
: void