relatedCountItem
in
Releated article counts object
Table of Contents
$article_id | Article id | int |
---|---|---|
$ccount | Number of comments | int |
$cprivunapp | Number of privat or unapproved comments | int |
$shares | NUmer of shares | int |
__construct() | Constructor | mixed |
getArticleId() | Return Article id | int |
getComments() | Returns number of comments | int |
getPrivateUnapprovedComments() | Returns number of private or unapproved comments | int |
getShares() | Returns number of shares | int |
Properties
$article_id
Article id
private
int
$article_id
= ""
$ccount
Number of comments
private
int
$ccount
= ""
$cprivunapp
Number of privat or unapproved comments
private
int
$cprivunapp
= ""
$shares
NUmer of shares
private
int
$shares
= ""
Methods
__construct()
Constructor
public
__construct(
$article_id :
int
, $ccount :
int
, $cprivunapp :
int
, $shares :
int
)
: mixed
Parameters
- $article_id : int
- $ccount : int
- $cprivunapp : int
- $shares : int
Return values
mixedgetArticleId()
Return Article id
public
getArticleId(
)
: int
Return values
intgetComments()
Returns number of comments
public
getComments(
)
: int
Return values
intgetPrivateUnapprovedComments()
Returns number of private or unapproved comments
public
getPrivateUnapprovedComments(
)
: int
Return values
intgetShares()
Returns number of shares
public
getShares(
)
: int