Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Gc
User
Role
Collection
PHP Class Gc\User\Role\Collection
Inheritance:
extends
Gc\Db\AbstractTable
Show file
Open project: gotcms/gotcms
Class Usage Examples
Protected Properties
Property
Type
Description
$name
string
Table name
$roles
array
List of roles
Public Methods
Method
Description
getRoles
(
boolean
$forceReload
= false ) :
array
Get Roles
init
( ) :
void
Initiliaze role collection
Method Details
getRoles()
public
method
Get Roles
public
getRoles
(
boolean
$forceReload
= false ) :
array
$forceReload
boolean
Force reload
return
array
\Gc\User\Role\Model
init()
public
method
Initiliaze role collection
public
init
( ) :
void
return
void
Property Details
$name
protected property
Table name
protected
string
$name
return
string
$roles
protected property
List of roles
protected
array
$roles
return
array