PersonMetrics Class Reference

List of all members.

Public Member Functions

 PersonMetrics ($data)
 getRecentCitationCount ()
 getGsCitations ()
 create ()
 update ()

Static Public Member Functions

static newFromId ($id)
static getAllPersonMetrics ()
static getUserMetric ($id)

Public Attributes

 $id
 $user_id
 $gs_citation_count
 $gs_hindex_5_years
 $gs_i10_index_5_years
 $gs_hindex
 $gs_i10_index
 $gs_citations = array()
 $scopus_document_count
 $scopus_cited_by_count
 $scopus_citation_count
 $scopus_h_index
 $scopus_coauthor_count
 $change_date

Member Function Documentation

PersonMetrics::create (  ) 

Returns True if the PersonMetrics is saved correctly

Returns:
boolean True if database accepted new PersonMetrics
static PersonMetrics::getAllPersonMetrics (  )  [static]

Returns an array of all the recent metrics in the database return Array of metric objects

PersonMetrics::getGsCitations (  ) 

Returns an array of the users citations count from Google Scholar return Array An array with a key-value pair of [year] => citation count

static PersonMetrics::getUserMetric ( id  )  [static]

Returns the user's most recent metric in the database return Metric The most recent Metric of the user.

static PersonMetrics::newFromId ( id  )  [static]

Returns a new Metric from the given id

Parameters:
integer $id The id of the metric
Returns:
Metric The Metric with the given id. If no metric exists with that id, it will return an empty metric.

The documentation for this class was generated from the following file:

Generated on 9 Jan 2025 for The Forum by  doxygen 1.6.1