CustomTablesService
in package
implements
CustomTablesServiceInterface
Uses
BcContainerTrait
CustomTablesService
Interfaces, Classes, Traits and Enums
- CustomTablesServiceInterface
- CustomTablesServiceInterface
Table of Contents
- $CustomTables : CustomTablesTable
- __construct() : mixed
- Constructor
- create() : EntityInterface
- カスタムテーブルを新規登録する
- delete() : bool
- カスタムテーブルを削除する
- get() : EntityInterface
- カスタムテーブルの単一データを取得する
- getControlSource() : array<string|int, mixed>
- コントロールソースを取得する
- getCustomContentId() : false|mixed
- カスタムコンテンツIDを取得する
- getIndex() : Query
- カスタムテーブルの一覧データを取得する
- getList() : array<string|int, mixed>
- カスタムテーブルのリストを取得する
- getNew() : EntityInterface
- カスタムテーブルの初期値となるエンティティを取得する
- getService() : array<string|int, mixed>|mixed|object
- Get Service
- getWithContentAndLinks() : EntityInterface
- カスタムテーブルについてカスタムコンテンツと関連フィールドを一緒に取得する
- getWithLinks() : EntityInterface
- カスタムテーブルについて関連フィールドを一緒に取得する
- hasCustomContent() : bool
- カスタムコンテンツを持っているかどうか判定
- hasService() : bool
- Has Service
- update() : EntityInterface
- カスタムテーブルを編集する
Properties
$CustomTables
public
CustomTablesTable
$CustomTables
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —create()
カスタムテーブルを新規登録する
public
create(array<string|int, mixed> $postData) : EntityInterface
Parameters
- $postData : array<string|int, mixed>
Return values
EntityInterface —delete()
カスタムテーブルを削除する
public
delete(int $id) : bool
Parameters
- $id : int
Return values
bool —get()
カスタムテーブルの単一データを取得する
public
get(int $id[, mixed $options = [] ]) : EntityInterface
Parameters
- $id : int
- $options : mixed = []
Return values
EntityInterface —getControlSource()
コントロールソースを取得する
public
getControlSource(string $field[, array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $field : string
- $options : array<string|int, mixed> = []
Return values
array<string|int, mixed> —getCustomContentId()
カスタムコンテンツIDを取得する
public
getCustomContentId(int $id) : false|mixed
Parameters
- $id : int
Return values
false|mixed —getIndex()
カスタムテーブルの一覧データを取得する
public
getIndex(array<string|int, mixed> $queryParams) : Query
Parameters
- $queryParams : array<string|int, mixed>
Return values
Query —getList()
カスタムテーブルのリストを取得する
public
getList([array<string|int, mixed> $options = [] ]) : array<string|int, mixed>
Parameters
- $options : array<string|int, mixed> = []
Return values
array<string|int, mixed> —getNew()
カスタムテーブルの初期値となるエンティティを取得する
public
getNew() : EntityInterface
Return values
EntityInterface —getService()
Get Service
public
getService( $service) : array<string|int, mixed>|mixed|object
Parameters
Tags
Return values
array<string|int, mixed>|mixed|object —getWithContentAndLinks()
カスタムテーブルについてカスタムコンテンツと関連フィールドを一緒に取得する
public
getWithContentAndLinks(int $tableId) : EntityInterface
Parameters
- $tableId : int
Return values
EntityInterface —getWithLinks()
カスタムテーブルについて関連フィールドを一緒に取得する
public
getWithLinks(int $tableId) : EntityInterface
Parameters
- $tableId : int
Return values
EntityInterface —hasCustomContent()
カスタムコンテンツを持っているかどうか判定
public
hasCustomContent(int $tableId) : bool
Parameters
- $tableId : int
Return values
bool —hasService()
Has Service
public
hasService( $service) : bool
Parameters
Tags
Return values
bool —update()
カスタムテーブルを編集する
public
update(EntityInterface $entity, array<string|int, mixed> $postData) : EntityInterface
Parameters
- $entity : EntityInterface
- $postData : array<string|int, mixed>