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
Afficher le fichier
Open project: pkp/ojs
Class Usage Examples
Méthodes publiques
Method Details
__construct()
public méthode
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 |
|