PHP Class Newscoop\Entity\User\Group

Inheritance: implements Zend_Acl_Role_Interface
ファイルを表示 Open project: sourcefabric/newscoop Class Usage Examples

Protected Properties

Property Type Description
$id integer
$name string
$role Newscoop\Entity\Acl\Role
$users

Public Methods

Method Description
__construct ( )
__toString ( ) : string Get name
getId ( ) : integer Get id
getName ( ) : string Get name
getRoleId ( ) : integer Get role id
getRoleRules ( ) : array Get role rules
getUsers ( ) : array Get users
setName ( string $name ) : Newscoop\Entity\User\Group Set name
setRole ( Role $role ) : Newscoop\Entity\User\Group Set role

Method Details

__construct() public method

public __construct ( )

__toString() public method

Get name
public __toString ( ) : string
return string

getId() public method

Get id
public getId ( ) : integer
return integer

getName() public method

Get name
public getName ( ) : string
return string

getRoleId() public method

Get role id
public getRoleId ( ) : integer
return integer

getRoleRules() public method

Get role rules
public getRoleRules ( ) : array
return array

getUsers() public method

Get users
public getUsers ( ) : array
return array

setName() public method

Set name
public setName ( string $name ) : Newscoop\Entity\User\Group
$name string
return Newscoop\Entity\User\Group

setRole() public method

Set role
public setRole ( Role $role ) : Newscoop\Entity\User\Group
$role Newscoop\Entity\Acl\Role
return Newscoop\Entity\User\Group

Property Details

$id protected_oe property

protected int $id
return integer

$name protected_oe property

protected string $name
return string

$role protected_oe property

protected Role,Newscoop\Entity\Acl $role
return Newscoop\Entity\Acl\Role

$users protected_oe property

protected $users