PHP Class Journal, ojs

Inheritance: extends Strass_Db_Table_Row_Abstract, implements Zend_Acl_Resource_Interface
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode 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.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

getAssocType() public méthode

Get the association type for this context.
public getAssocType ( ) : integer
Résultat integer

getDAO() public méthode

public getDAO ( )

getDefaultMetricType() public méthode

If no specific metric type has been set for this journal then the site-wide default metric type will be returned.
public getDefaultMetricType ( ) : null | string
Résultat null | string A metric type identifier or null if no default metric type could be identified.

getLocalizedFavicon() public méthode

Get localized favicon
public getLocalizedFavicon ( ) : string
Résultat string

getLocalizedPageHeaderTitle() public méthode

Get "localized" journal page title (if applicable).
public getLocalizedPageHeaderTitle ( ) : string
Résultat string

getMetricTypes() public méthode

Return all metric types supported by this journal.
public getMetricTypes ( $withDisplayNames = false ) : array
Résultat array An array of strings of supported metric type identifiers.

getMetrics() public méthode

Retrieve a statistics report pre-filtered on this journal.
See also: for a full specification of the input and output format of this method.
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
Résultat null | array The selected data as a simple tabular result set or null if metrics are not supported by this journal.

getSettingsDAO() static public méthode

Get the settings DAO for this context object.
static public getSettingsDAO ( ) : DAO
Résultat DAO