Documentation

shares extends tablelist

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 = []

$table

Tabellen-Name

protected string $table

$cacheName

Cache name

protected string $cacheName = false

$cacheModule

Cache Modul

protected string $cacheModule = ''

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
array

getSharesCountByArticles()

Fetch share count sum for all articles

public getSharesCountByArticles( [ $ids : array = [] ] ) : array
Parameters
$ids : array = []
Tags
since
Return values
array

getRegisteredShares()

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

Search results