PHP 인터페이스 FOS\UserBundle\Model\GroupManagerInterface

All changes to groups should happen through this interface.
저자: Christophe Coevoet ([email protected])
파일 보기 프로젝트 열기: KnpLabs/KnpUserBundle 0 사용 예제들

공개 메소드들

메소드 설명
createGroup ( string $name ) : FOS\UserBundle\Model\GroupInterface Returns an empty group instance
deleteGroup ( FOS\UserBundle\Model\GroupInterface $group ) : void Deletes a group
findGroupBy ( array $criteria ) : FOS\UserBundle\Model\GroupInterface Finds one group by the given criteria
findGroupByName ( string $name ) : FOS\UserBundle\Model\GroupInterface Finds a group by name
findGroups ( ) : Traversable Returns a collection with all user instances
getClass ( ) : string Returns the group's fully qualified class name
updateGroup ( FOS\UserBundle\Model\GroupInterface $group ) : void Updates a group

메소드 상세

createGroup() 공개 메소드

Returns an empty group instance
public createGroup ( string $name ) : FOS\UserBundle\Model\GroupInterface
$name string
리턴 FOS\UserBundle\Model\GroupInterface

deleteGroup() 공개 메소드

Deletes a group
public deleteGroup ( FOS\UserBundle\Model\GroupInterface $group ) : void
$group FOS\UserBundle\Model\GroupInterface
리턴 void

findGroupBy() 공개 메소드

Finds one group by the given criteria
public findGroupBy ( array $criteria ) : FOS\UserBundle\Model\GroupInterface
$criteria array
리턴 FOS\UserBundle\Model\GroupInterface

findGroupByName() 공개 메소드

Finds a group by name
public findGroupByName ( string $name ) : FOS\UserBundle\Model\GroupInterface
$name string
리턴 FOS\UserBundle\Model\GroupInterface

findGroups() 공개 메소드

Returns a collection with all user instances
public findGroups ( ) : Traversable
리턴 Traversable

getClass() 공개 메소드

Returns the group's fully qualified class name
public getClass ( ) : string
리턴 string

updateGroup() 공개 메소드

Updates a group
public updateGroup ( FOS\UserBundle\Model\GroupInterface $group ) : void
$group FOS\UserBundle\Model\GroupInterface
리턴 void