baserCMS クラスリファレンス

UserGroupsService
in package
implements UserGroupsServiceInterface Uses BcContainerTrait

Class UserGroupsService

Table of Contents

Interfaces

UserGroupsServiceInterface
Interface UserGroupsServiceInterface

Properties

$UserGroups  : UserGroupsTable
$UserGroups  : Table|UserGroupsTable
UserGroups Table

Methods

__construct()  : mixed
UserGroupsService constructor.
create()  : EntityInterface
ユーザーグループ登録
delete()  : bool
ユーザーグループ情報を削除する
get()  : EntityInterface
ユーザーグループを取得する
getControlSource()  : array<string|int, mixed>
コントロールソースを取得する
getIndex()  : Query
ユーザーグループ全件取得する
getList()  : array<string|int, mixed>
リストを取得する
getNew()  : UserGroup
ユーザーグループの新規データ用の初期値を含んだエンティティを取得する
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
update()  : EntityInterface
ユーザーグループ情報を更新する

Properties

Methods

__construct()

UserGroupsService constructor.

public __construct() : mixed
Tags
checked
unitTest
noTodo

create()

ユーザーグループ登録

public create(array<string|int, mixed> $postData) : EntityInterface
Parameters
$postData : array<string|int, mixed>
Tags
throws
PersistenceFailedException
checked
noTodo
unitTest
Return values
EntityInterface

delete()

ユーザーグループ情報を削除する

public delete(int $id) : bool
Parameters
$id : int
Tags
checked
noTodo
unitTest
Return values
bool

get()

ユーザーグループを取得する

public get(int $id) : EntityInterface
Parameters
$id : int
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getControlSource()

コントロールソースを取得する

public getControlSource(string $field) : array<string|int, mixed>
Parameters
$field : string
Tags
noTodo
checked
Return values
array<string|int, mixed>

getIndex()

ユーザーグループ全件取得する

public getIndex([array<string|int, mixed> $options = [] ]) : Query
Parameters
$options : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
Query

getList()

リストを取得する

public getList() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getNew()

ユーザーグループの新規データ用の初期値を含んだエンティティを取得する

public getNew() : UserGroup
Tags
checked
noTodo
unitTest
Return values
UserGroup

getService()

Get Service

public getService( $service) : array<string|int, mixed>|mixed|object
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>|mixed|object

hasService()

Has Service

public hasService( $service) : bool
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
bool

update()

ユーザーグループ情報を更新する

public update(EntityInterface|UserGroup $target, array<string|int, mixed> $postData) : EntityInterface
Parameters
$target : EntityInterface|UserGroup
$postData : array<string|int, mixed>
Tags
throws
PersistenceFailedException
checked
noTodo
unitTest
Return values
EntityInterface

        
On this page

Search results