baserCMS クラスリファレンス

CustomFieldsService
in package
implements CustomFieldsServiceInterface Uses BcContainerTrait

CustomFieldsService

Table of Contents

Interfaces

CustomFieldsServiceInterface
CustomFieldsServiceInterface

Properties

$CustomEntries  : CustomEntriesTable
$CustomEntries  : CustomEntriesTable|Table
CustomEntries Table
$CustomFields  : CustomFieldsTable
$CustomFields  : CustomEntriesTable|Table
CustomEntries Table

Methods

__construct()  : mixed
Constructor
create()  : EntityInterface
カスタムフィールドを新規登録する
delete()  : bool
カスタムフィールドを削除する
get()  : EntityInterface
カスタムフィールドの単一データを取得する
getControlSource()  : array<string|int, mixed>
コントロールソースを取得する
getFieldTypes()  : array<string|int, mixed>
フィールドタイプのリストを取得する
getIndex()  : Query
カスタムフィールドの一覧データを取得する
getList()  : array<string|int, mixed>
カスタムフィールドのリストを取得する
getNew()  : EntityInterface
カスタムフィールドの初期値となるエンティティを取得する
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
update()  : EntityInterface
カスタムフィールドを編集する

Properties

Methods

create()

カスタムフィールドを新規登録する

public create(array<string|int, mixed> $postData) : EntityInterface
Parameters
$postData : array<string|int, mixed>
Tags
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[, array<string|int, mixed> $options = [] ]) : EntityInterface
Parameters
$id : int
$options : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getControlSource()

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

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

getFieldTypes()

フィールドタイプのリストを取得する

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

getIndex()

カスタムフィールドの一覧データを取得する

public getIndex([array<string|int, mixed> $queryParams = [] ]) : Query
Parameters
$queryParams : 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() : EntityInterface
Tags
checked
noTodo
unitTest
Return values
EntityInterface

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 $entity, array<string|int, mixed> $postData) : EntityInterface
Parameters
$entity : EntityInterface
$postData : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
EntityInterface

        
On this page

Search results