baserCMS クラスリファレンス

CustomLinksService
in package
implements CustomLinksServiceInterface Uses BcContainerTrait

CustomLinksService

Table of Contents

Interfaces

CustomLinksServiceInterface
CustomLinksServiceInterface

Properties

$CustomLinks  : CustomLinksTable
$CustomLinks  : CustomLinksTable|Table
CustomLinks Table

Methods

__construct()  : mixed
Constructor
create()  : EntityInterface
関連フィールドを新規登録する
delete()  : bool
関連フィールドを削除する
deleteFields()  : mixed
削除されたフィールドを反映する
get()  : EntityInterface
関連フィールド単一データ取得
getControlSource()  : array<string|int, mixed>
コントロールソースを取得する
getGroupList()  : array<string|int, mixed>
関連フィールドのグループのリストを取得する
getIndex()  : Query
関連フィールドの一覧データを取得する
getList()  : array<string|int, mixed>
getService()  : array<string|int, mixed>|mixed|object
Get Service
hasService()  : bool
Has Service
update()  : EntityInterface
関連フィールドを編集する
updateFields()  : mixed
削除されたフィールドの反映、並び順の更新を実行

Properties

Methods

__construct()

Constructor

public __construct() : mixed
Tags
checked
noTodo
unitTest

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

deleteFields()

削除されたフィールドを反映する

public deleteFields(int $tableId, array<string|int, mixed> $customLinks) : mixed

存在対象のフィールド以外を削除する

Parameters
$tableId : int
$customLinks : array<string|int, mixed>

存在対象のフィールド

Tags
checked
noTodo
unitTest

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[, mixed $options = [] ]) : array<string|int, mixed>
Parameters
$field : string
$options : mixed = []
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getGroupList()

関連フィールドのグループのリストを取得する

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

getIndex()

関連フィールドの一覧データを取得する

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

getList()

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

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

updateFields()

削除されたフィールドの反映、並び順の更新を実行

public updateFields(int $tableId, array<string|int, mixed> $customLinks) : mixed
Parameters
$tableId : int
$customLinks : array<string|int, mixed>
Tags
checked
noTodo
unitTest

        
On this page

Search results