PHP 클래스 Services\UserGroupManager

파일 보기 프로젝트 열기: doptor/doptor

공개 메소드들

메소드 설명
createUserGroup ( array $input = [] ) : mixed Create a new user group
deleteUserGroup ( $id ) : mixed | void Delete an existing user group
findAllGroups ( ) : mixed Find all user groups
findGroupById ( $id ) : mixed Find a user group by id
groupLists ( string $value, key $key = null ) : array Get a list of all user groups
setPermissions ( $input ) : array Set permissions on group
updateUserGroup ( $id, array $input = [] ) : mixed Update an existing user group

메소드 상세

createUserGroup() 공개 메소드

Create a new user group
public createUserGroup ( array $input = [] ) : mixed
$input array
리턴 mixed

deleteUserGroup() 공개 메소드

Delete an existing user group
public deleteUserGroup ( $id ) : mixed | void
$id
리턴 mixed | void

findAllGroups() 공개 메소드

Find all user groups
public findAllGroups ( ) : mixed
리턴 mixed

findGroupById() 공개 메소드

Find a user group by id
public findGroupById ( $id ) : mixed
$id
리턴 mixed

groupLists() 공개 메소드

Get a list of all user groups
public groupLists ( string $value, key $key = null ) : array
$value string Value
$key key Key
리턴 array

setPermissions() 공개 메소드

Set permissions on group
public setPermissions ( $input ) : array
$input
리턴 array

updateUserGroup() 공개 메소드

Update an existing user group
public updateUserGroup ( $id, array $input = [] ) : mixed
$id
$input array
리턴 mixed