baserCMS クラスリファレンス

BlogTagsService
in package
implements BlogTagsServiceInterface

BlogTagsService

Table of Contents

Interfaces

BlogTagsServiceInterface
BlogTagsServiceInterface

Properties

$BlogTags  : BlogTagsTable
$BlogTags  : BlogTagsTable|Table
BlogTags Table

Methods

__construct()  : mixed
Construct
batch()  : bool
一括処理
create()  : EntityInterface
ブログタグ作成
createIndexConditions()  : Query
ブログタグ一覧用の検索条件設定
createIndexOrder()  : Query
ブログタグ一覧用の並び替え設定
delete()  : bool
ブログタグを削除する
get()  : EntityInterface
単一ブログタグを取得する
getIndex()  : Query
ブログタグ一覧を取得
getNew()  : EntityInterface
ブログタグの初期値を取得する
getTitlesById()  : array<string|int, mixed>
IDからタイトルリストを取得する
update()  : EntityInterface
ブログタグを更新する

Properties

Methods

__construct()

Construct

public __construct() : mixed
Tags
checked
noTodo
unitTest

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(array<string|int, mixed> $postData) : EntityInterface
Parameters
$postData : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
EntityInterface

createIndexConditions()

ブログタグ一覧用の検索条件設定

public createIndexConditions(Query $query, array<string|int, mixed> $params) : Query
Parameters
$query : Query
$params : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
Query

createIndexOrder()

ブログタグ一覧用の並び替え設定

public createIndexOrder(Query $query, array<string|int, mixed> $params) : Query
Parameters
$query : Query
$params : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
Query

delete()

ブログタグを削除する

public delete(int $id) : bool
Parameters
$id : int
Tags
checked
noTodo
unitTest
Return values
bool

get()

単一ブログタグを取得する

public get( $id) : EntityInterface
Parameters
$id :
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getIndex()

ブログタグ一覧を取得

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

getNew()

ブログタグの初期値を取得する

public getNew() : EntityInterface
Tags
checked
noTodo
unitTest
Return values
EntityInterface

getTitlesById()

IDからタイトルリストを取得する

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

update()

ブログタグを更新する

public update(BlogTag $blogTag,  $postData) : EntityInterface
Parameters
$blogTag : BlogTag
$postData :
Tags
checked
noTodo
unitTest
Return values
EntityInterface

        
On this page

Search results