PHP Класс 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
Автор: ClassBuilder
Наследование: extends Phreezable
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) Constructor.
getRoleNames ( boolean $contextOnly = false, array $roleIds = null ) : array Get a mapping of role keys and i18n key names.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( )

getRoleNames() статический публичный Метод

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
Результат array