EditorTemplatesService
in package
implements
EditorTemplatesServiceInterface
EditorTemplatesService
Interfaces, Classes, Traits and Enums
- EditorTemplatesServiceInterface
- EditorTemplatesServiceInterface
Table of Contents
- $EditorTemplates : EditorTemplatesTable
- __construct() : mixed
- Constructor
- create() : EntityInterface
- エディタテンプレートを追加する
- delete() : bool
- エディターテンプレートを削除する
- get() : EntityInterface
- 単一のエディターテンプレートを取得する
- getIndex() : Query
- エディタテンプレートの一覧を取得する
- getList() : array<string|int, mixed>
- エディターテンプレートのリストを取得する
- getNew() : EntityInterface
- エディタテンプレートの初期値を取得する
- update() : EntityInterface
- エディターテンプレートを更新する
Properties
$EditorTemplates
public
EditorTemplatesTable
$EditorTemplates
Methods
__construct()
Constructor
public
__construct() : mixed
Tags
Return values
mixed —create()
エディタテンプレートを追加する
public
create(array<string|int, mixed> $postData) : EntityInterface
Parameters
- $postData : array<string|int, mixed>
Tags
Return values
EntityInterface —delete()
エディターテンプレートを削除する
public
delete(int $id) : bool
Parameters
- $id : int
Tags
Return values
bool —get()
単一のエディターテンプレートを取得する
public
get(int $id) : EntityInterface
Parameters
- $id : int
Tags
Return values
EntityInterface —getIndex()
エディタテンプレートの一覧を取得する
public
getIndex() : Query
Tags
Return values
Query —getList()
エディターテンプレートのリストを取得する
public
getList() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —getNew()
エディタテンプレートの初期値を取得する
public
getNew() : EntityInterface
Tags
Return values
EntityInterface —update()
エディターテンプレートを更新する
public
update(EntityInterface $entity, array<string|int, mixed> $postData) : EntityInterface
Parameters
- $entity : EntityInterface
- $postData : array<string|int, mixed>