Statistics
class Statistics (View source)
Methods
Gets the total number of versions across all pages. Used in the dashboard.
Returns the datetime of the last edit to the site. Used in the dashboard.
Gets the total number of pages currently in edit mode.
For a particular page ID, grabs all the pages of this page, and increments the cTotalChildren number for them.
For a particular page ID, grabs all the pages of this page, and decrements the cTotalChildren number for them.
Returns the total number of pages created for a given date.
Details
        
                static            int
    getTotalPageVersions()
        
    
    Gets the total number of versions across all pages. Used in the dashboard.
        
                static            string
    getSiteLastEdit($type = 'system')
        
    
    Returns the datetime of the last edit to the site. Used in the dashboard.
        
                static            int
    getTotalPagesCheckedOut()
        
    
    Gets the total number of pages currently in edit mode.
        
                static            
    incrementParents($cID)
        
    
    For a particular page ID, grabs all the pages of this page, and increments the cTotalChildren number for them.
        
                static            
    decrementParents($cID)
        
    
    For a particular page ID, grabs all the pages of this page, and decrements the cTotalChildren number for them.
        
                static            
    getTotalPagesCreated($date)
        
    
    Returns the total number of pages created for a given date.