baserCMS クラスリファレンス

BlogContentsServiceInterface

BlogContentsServiceInterface

Table of Contents

Methods

copy()  : EntityInterface
ブログをコピーする
create()  : EntityInterface
ブログ登録
delete()  : bool
ブログを削除する
get()  : EntityInterface|array<string|int, mixed>|null
単一データ取得
getControlSource()  : array<string|int, mixed>|false
コントロールソースを取得する
getIndex()  : Query
一覧データを取得
getList()  : array<string|int, mixed>
リストを取得する
getNew()  : EntityInterface
初期値を取得する
update()  : EntityInterface
更新

Methods

copy()

ブログをコピーする

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

$result

create()

ブログ登録

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

getControlSource()

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

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

コントロールソース

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

update()

更新

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

        
On this page

Search results