baserCMS クラスリファレンス

BlogCategoriesServiceInterface

BlogCategoriesServiceInterface

Table of Contents

Methods

batch()  : bool
一括処理
create()  : EntityInterface|null
新規作成
delete()  : bool
削除する
get()  : EntityInterface
単一レコードを取得する
getControlSource()  : mixed
コントロールソース取得
getIndex()  : Query
一覧を取得する
getList()  : array<string|int, mixed>
ブログカテゴリーリスト取得
getNamesById()  : array<string|int, mixed>
IDを指定して名前リストを取得する
getNew()  : EntityInterface
新規エンティティ取得
getTreeIndex()  : array<string|int, mixed>
getTreeIndex
update()  : EntityInterface|null
更新する

Methods

batch()

一括処理

public batch(string $method, array<string|int, mixed> $ids) : bool
Parameters
$method : string
$ids : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
bool

create()

新規作成

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

get()

単一レコードを取得する

public get(int $id[, array<string|int, mixed> $queryParams = [] ]) : EntityInterface
Parameters
$id : int
$queryParams : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getControlSource()

コントロールソース取得

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

getIndex()

一覧を取得する

public getIndex(int $blogContentId, array<string|int, mixed> $queryParams[, string $type = 'all' ]) : Query
Parameters
$blogContentId : int
$queryParams : array<string|int, mixed>
$type : string = 'all'
Tags
checked
noTodo
unitTest
Return values
Query

getList()

ブログカテゴリーリスト取得

public getList(mixed $blogContentId[, array<string|int, mixed> $queryParams = [] ]) : array<string|int, mixed>
Parameters
$blogContentId : mixed
$queryParams : array<string|int, mixed> = []
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getNamesById()

IDを指定して名前リストを取得する

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

getNew()

新規エンティティ取得

public getNew(int $blogContentId) : EntityInterface
Parameters
$blogContentId : int
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getTreeIndex()

getTreeIndex

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

update()

更新する

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

        
On this page

Search results