Method | Description | |
---|---|---|
__construct ( ) | Constructor. | |
getAssocType ( ) : integer | Get the association type for this context. | |
getDAO ( ) | ||
getDefaultMetricType ( ) : null | string | Returns the currently configured default metric type for this journal. | |
getLocalizedFavicon ( ) : string | Get localized favicon | |
getLocalizedPageHeaderLogo ( ) : string | Get "localized" journal page logo (if applicable). | |
getLocalizedPageHeaderTitle ( ) : string | Get "localized" journal page title (if applicable). | |
getMetricTypes ( $withDisplayNames = false ) : array | Return all metric types supported by this journal. | |
getMetrics ( $metricType = null, $columns = [], $filter = [], $orderBy = [], $range = null ) : null | array | Retrieve a statistics report pre-filtered on this journal. | |
getSettingsDAO ( ) : DAO | Get the settings DAO for this context object. |
public getAssocType ( ) : integer | ||
return | integer |
public getDefaultMetricType ( ) : null | string | ||
return | null | string | A metric type identifier or null if no default metric type could be identified. |
public getLocalizedFavicon ( ) : string | ||
return | string |
public getLocalizedPageHeaderLogo ( ) : string | ||
return | string |
public getLocalizedPageHeaderTitle ( ) : string | ||
return | string |
public getMetricTypes ( $withDisplayNames = false ) : array | ||
return | array | An array of strings of supported metric type identifiers. |
public getMetrics ( $metricType = null, $columns = [], $filter = [], $orderBy = [], $range = null ) : null | array | ||
$metricType | null|integer|array metrics selection | |
$columns | integer|array column (aggregation level) selection | |
$orderBy | array order criteria | |
$range | null|DBResultRange paging specification | |
return | null | array | The selected data as a simple tabular result set or null if metrics are not supported by this journal. |
static public getSettingsDAO ( ) : DAO | ||
return | DAO |