baserCMS クラスリファレンス

SearchIndexesServiceInterface

Interface SearchIndexesServiceInterface

Table of Contents

Methods

allowPublish()  : bool|int
公開状態確認
batch()  : bool
一括処理
changePriority()  : EntityInterface|null
優先度を変更する
delete()  : bool
検索インデックスを削除する
get()  : EntityInterface
プラグインを取得する
getIndex()  : Query
一覧データを取得
reconstruct()  : bool
検索インデックス再構築

Methods

allowPublish()

公開状態確認

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

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

changePriority()

優先度を変更する

public changePriority(EntityInterface $target,  $priority) : EntityInterface|null
Parameters
$target : EntityInterface
$priority :
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) : EntityInterface
Parameters
$id : int
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

reconstruct()

検索インデックス再構築

public reconstruct([int $parentContentId = null ]) : bool
Parameters
$parentContentId : int = null

親となるコンテンツID

Tags
checked
noTodo
unitTest
Return values
bool

        
On this page

Search results