PHP 클래스 Sulu\Bundle\SecurityBundle\Entity\Group

상속: extends Sulu\Bundle\CoreBundle\Entity\ApiEntity, implements Sulu\Component\Persistence\Model\AuditableInterface
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__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