baserCMS クラスリファレンス

PagesServiceInterface

Interface PagesServiceInterface

Table of Contents

Methods

copy()  : Page
ページデータをコピーする
delete()  : bool
物理削除
getPageTemplateList()  : array<string|int, mixed>
固定ページテンプレートリストを取得する
getTrash()  : EntityInterface|array<string|int, mixed>
固定ページをゴミ箱から取得する

Methods

copy()

ページデータをコピーする

public copy(array<string|int, mixed> $postData) : Page

固定ページテンプレートの生成処理を実行する必要がある為、 Content::copy() は利用しない

Parameters
$postData : array<string|int, mixed>
Tags
checked
unitTest
noTodo
Return values
Page

$result

delete()

物理削除

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

getPageTemplateList()

固定ページテンプレートリストを取得する

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

getTrash()

固定ページをゴミ箱から取得する

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

        
On this page

Search results