PHP Class Gc\User\Role\Collection

Inheritance: extends Gc\Db\AbstractTable
显示文件 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_oe property

Table name
protected string $name
return string

$roles protected_oe property

List of roles
protected array $roles
return array