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
Mostrar archivo Open project: pkp/ojs Class Usage Examples

Public Methods

Method 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 method

Constructor.
public __construct ( )

getRoleNames() static public method

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
return array