baserCMS クラスリファレンス

BlogCategoriesAdminService extends BlogCategoriesService
in package
implements BlogCategoriesAdminServiceInterface Uses BcContainerTrait

BlogCategoriesAdminService

Table of Contents

Interfaces

BlogCategoriesAdminServiceInterface
BlogCategoriesAdminServiceInterface

Properties

$BlogCategories  : BlogCategoriesTable|Table

Methods

__construct()  : mixed
Construct
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
新規エンティティ取得
getService()  : array<string|int, mixed>|mixed|object
Get Service
getTreeIndex()  : array<string|int, mixed>
getTreeIndex
getViewVarsForAdd()  : array<string|int, mixed>
ブログカテゴリー登録用の view 変数取得
getViewVarsForEdit()  : array<string|int, mixed>
ブログカテゴリー編集用の view 変数取得
getViewVarsForIndex()  : array<string|int, mixed>
ブログカテゴリ一覧用の view 変数取得
hasService()  : bool
Has Service
update()  : EntityInterface|null
更新する

Properties

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

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> $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

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

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>

getViewVarsForAdd()

ブログカテゴリー登録用の view 変数取得

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

getViewVarsForEdit()

ブログカテゴリー編集用の view 変数取得

public getViewVarsForEdit(int $blogContentId, BlogCategory|EntityInterface $blogCategory) : array<string|int, mixed>
Parameters
$blogContentId : int
$blogCategory : BlogCategory|EntityInterface
Tags
noTodo
checked
unitTest
Return values
array<string|int, mixed>

getViewVarsForIndex()

ブログカテゴリ一覧用の view 変数取得

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

hasService()

Has Service

public hasService( $service) : bool
Parameters
$service :
Tags
checked
noTodo
unitTest
Return values
bool

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