Documentation

relatedCountItem
in package

Releated article counts object

Tags
author

Stefan Seehafer aka imagine fanpress@nobody-knows.org

copyright

(c) 2020, Stefan Seehafer

license

http://www.gnu.org/licenses/gpl.txt GPLv3

since
4.5

Table of Contents

$article_id  : int
Article id
$ccount  : int
Number of comments
$cprivunapp  : int
Number of privat or unapproved comments
$shares  : int
NUmer of shares
__construct()  : mixed
Constructor
getArticleId()  : int
Return Article id
getComments()  : int
Returns number of comments
getPrivateUnapprovedComments()  : int
Returns number of private or unapproved comments
getShares()  : int
Returns number of shares

Properties

$cprivunapp

Number of privat or unapproved comments

private int $cprivunapp = 0

Methods

__construct()

Constructor

public __construct(int $article_id, int $ccount, int $cprivunapp, int $shares) : mixed
Parameters
$article_id : int
$ccount : int
$cprivunapp : int
$shares : int
Return values
mixed

getArticleId()

Return Article id

public getArticleId() : int
Return values
int

getComments()

Returns number of comments

public getComments() : int
Return values
int

getPrivateUnapprovedComments()

Returns number of private or unapproved comments

public getPrivateUnapprovedComments() : int
Return values
int

getShares()

Returns number of shares

public getShares() : int
Return values
int

Search results