baserCMS クラスリファレンス

ContentFoldersServiceInterface extends CrudBaseServiceInterface

Interface ContentFoldersServiceInterface

Table of Contents

Methods

create()  : EntityInterface
新規登録する
delete()  : bool
物理削除
get()  : EntityInterface
単一データを取得する
getFolderTemplateList()  : array<string|int, mixed>
フォルダのテンプレートリストを取得する
getIndex()  : Query
複数データを取得
getList()  : array<string|int, mixed>
リストデータを取得(コントロールソースに利用)
getNew()  : EntityInterface
新しいデータの初期値を取得する
getParentTemplate()  : mixed
親のテンプレートを取得する
getTrash()  : EntityInterface|array<string|int, mixed>
コンテンツフォルダーをゴミ箱から取得する
saveSiteRoot()  : false|EntityInterface
サイトルートフォルダを保存
update()  : mixed
編集する

Methods

create()

新規登録する

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

get()

単一データを取得する

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

getFolderTemplateList()

フォルダのテンプレートリストを取得する

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

getIndex()

複数データを取得

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

getList()

リストデータを取得(コントロールソースに利用)

public getList() : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getNew()

新しいデータの初期値を取得する

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

getParentTemplate()

親のテンプレートを取得する

public getParentTemplate(int $id, string $type) : mixed
Parameters
$id : int
$type : string

folder|page

Tags
checked
noTodo
unitTest

getTrash()

コンテンツフォルダーをゴミ箱から取得する

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

saveSiteRoot()

サイトルートフォルダを保存

public saveSiteRoot(Site $site[, bool $isUpdateChildrenUrl = false ]) : false|EntityInterface
Parameters
$site : Site
$isUpdateChildrenUrl : bool = false

子のコンテンツのURLを一括更新するかどうか

Tags
throws
RecordNotFoundException
checked
noTodo
unitTest
Return values
false|EntityInterface

update()

編集する

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

        
On this page

Search results