relatedCountItem
    
            
            in package
            
        
    
    
    
        
            Releated article counts object
Tags
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
$article_id
Article id
    private
        int
    $article_id
     = 0
    
    
    
$ccount
Number of comments
    private
        int
    $ccount
     = 0
    
    
    
$cprivunapp
Number of privat or unapproved comments
    private
        int
    $cprivunapp
     = 0
    
    
    
$shares
NUmer of shares
    private
        int
    $shares
     = 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