PHP Класс Sulu\Bundle\SecurityBundle\Entity\Group

Наследование: extends Sulu\Bundle\CoreBundle\Entity\ApiEntity, implements Sulu\Component\Persistence\Model\AuditableInterface
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
__construct ( ) Constructor.
addChildren ( Group $children ) : Group Add children.
addRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) : Group Add roles.
addUserGroup ( UserGroup $userGroups ) : Group Add userGroups.
getChanged ( ) : DateTime Get changed.
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface Get changer.
getChildren ( ) : Doctrine\Common\Collections\Collection Get children.
getCreated ( ) : DateTime Get created.
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface Get creator.
getDepth ( ) : integer Get depth.
getId ( ) : integer Get id.
getLft ( ) : integer Get lft.
getName ( ) : string Get name.
getParent ( ) : Group Get parent.
getRgt ( ) : integer Get rgt.
getRoles ( ) : Doctrine\Common\Collections\Collection Get roles.
getUserGroups ( ) : Doctrine\Common\Collections\Collection Get userGroups.
removeChildren ( Group $children ) Remove children.
removeRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) Remove roles.
removeUserGroup ( UserGroup $userGroups ) Remove userGroups.
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Group Set changer.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Group Set creator.
setDepth ( integer $depth ) : Group Set depth.
setLft ( integer $lft ) : Group Set lft.
setName ( string $name ) : Group Set name.
setParent ( Group $parent = null ) : Group Set parent.
setRgt ( integer $rgt ) : Group Set rgt.

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

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

Constructor.
public __construct ( )

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

Add children.
public addChildren ( Group $children ) : Group
$children Group
Результат Group

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

Add roles.
public addRole ( Sulu\Component\Security\Authentication\RoleInterface $roles ) : Group
$roles Sulu\Component\Security\Authentication\RoleInterface
Результат Group

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

Add userGroups.
public addUserGroup ( UserGroup $userGroups ) : Group
$userGroups UserGroup
Результат Group

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

Get changed.
public getChanged ( ) : DateTime
Результат DateTime

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

Get changer.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
Результат Sulu\Component\Security\Authentication\UserInterface

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

Get children.
public getChildren ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

Get created.
public getCreated ( ) : DateTime
Результат DateTime

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

Get creator.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
Результат Sulu\Component\Security\Authentication\UserInterface

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

Get depth.
public getDepth ( ) : integer
Результат integer

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

Get id.
public getId ( ) : integer
Результат integer

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

Get lft.
public getLft ( ) : integer
Результат integer

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

Get name.
public getName ( ) : string
Результат string

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

Get parent.
public getParent ( ) : Group
Результат Group

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

Get rgt.
public getRgt ( ) : integer
Результат integer

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

Get roles.
public getRoles ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

Get userGroups.
public getUserGroups ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

Remove children.
public removeChildren ( Group $children )
$children Group

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

Remove roles.
public removeRole ( Sulu\Component\Security\Authentication\RoleInterface $roles )
$roles Sulu\Component\Security\Authentication\RoleInterface

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

Remove userGroups.
public removeUserGroup ( UserGroup $userGroups )
$userGroups UserGroup

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

Set changer.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Group
$changer Sulu\Component\Security\Authentication\UserInterface
Результат Group

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

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Group
$creator Sulu\Component\Security\Authentication\UserInterface
Результат Group

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

Set depth.
public setDepth ( integer $depth ) : Group
$depth integer
Результат Group

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

Set lft.
public setLft ( integer $lft ) : Group
$lft integer
Результат Group

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

Set name.
public setName ( string $name ) : Group
$name string
Результат Group

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

Set parent.
public setParent ( Group $parent = null ) : Group
$parent Group
Результат Group

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

Set rgt.
public setRgt ( integer $rgt ) : Group
$rgt integer
Результат Group