PHP Class RoleDAO, ojs

WARNING: THIS IS AN AUTO-GENERATED FILE This file should generally not be edited by hand except in special circumstances. Add any custom business logic to the Model class which is extended from this DAO class. Leaving this file alone will allow easy re-generation of all DAOs in the event of schema changes
Author: ClassBuilder
Inheritance: extends Phreezable
Afficher le fichier Open project: pkp/ojs Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
getRoleNames ( boolean $contextOnly = false, array $roleIds = null ) : array Get a mapping of role keys and i18n key names.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

getRoleNames() static public méthode

Get a mapping of role keys and i18n key names.
static public getRoleNames ( boolean $contextOnly = false, array $roleIds = null ) : array
$contextOnly boolean If false, also returns site-level roles (Site admin)
$roleIds array Only return role names of these IDs
Résultat array