baserCMS クラスリファレンス

BlogFrontServiceInterface

BlogFrontServiceInterface

Table of Contents

Methods

getArchivesTemplate()  : string
アーカイブページ用のテンプレート名を取得する
getCategoryCrumbs()  : array<string|int, mixed>
カテゴリ用のパンくずを取得する
getIndexTemplate()  : string
一覧用のテンプレート名を取得する
getSingleTemplate()  : string
詳細ページ用のテンプレート名を取得する
getViewVarsForArchivesByAuthor()  : array<string|int, mixed>
著者別アーカイブ一覧の view 用変数を取得する
getViewVarsForArchivesByCategory()  : array<string|int, mixed>
カテゴリー別アーカイブ一覧の view 変数を取得する
getViewVarsForArchivesByDate()  : array<string|int, mixed>
日付別アーカイブ一覧の view 用変数を取得する
getViewVarsForArchivesByTag()  : array<string|int, mixed>
タグ別アーカイブ一覧の view 用変数を取得する
getViewVarsForIndex()  : array<string|int, array<string|int, mixed>>
プレビュー用の view 変数を取得する
getViewVarsForSingle()  : array<string|int, mixed>
ブログ記事詳細ページの view 用変数を取得する
setupPreviewForArchives()  : void
プレビュー用のセットアップをする
setupPreviewForIndex()  : void
プレビュー用のセットアップをする

Methods

getArchivesTemplate()

アーカイブページ用のテンプレート名を取得する

public getArchivesTemplate(BlogContent $blogContent) : string
Parameters
$blogContent : BlogContent
Tags
checked
noTodo
unitTest
Return values
string

getCategoryCrumbs()

カテゴリ用のパンくずを取得する

public getCategoryCrumbs(string $baseUrl, int $categoryId[, mixed $isCategoryPage = true ]) : array<string|int, mixed>
Parameters
$baseUrl : string
$categoryId : int
$isCategoryPage : mixed = true
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getIndexTemplate()

一覧用のテンプレート名を取得する

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

getSingleTemplate()

詳細ページ用のテンプレート名を取得する

public getSingleTemplate(BlogContent $blogContent) : string
Parameters
$blogContent : BlogContent
Tags
checked
noTodo
unitTest
Return values
string

getViewVarsForArchivesByAuthor()

著者別アーカイブ一覧の view 用変数を取得する

public getViewVarsForArchivesByAuthor(ResultSet $posts, string $author, BlogContent $blogContent) : array<string|int, mixed>
Parameters
$posts : ResultSet
$author : string
$blogContent : BlogContent
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForArchivesByCategory()

カテゴリー別アーカイブ一覧の view 変数を取得する

public getViewVarsForArchivesByCategory(ResultSet $posts, string $category, ServerRequest $request, EntityInterface $blogContent, array<string|int, mixed> $crumbs) : array<string|int, mixed>
Parameters
$posts : ResultSet
$category : string
$request : ServerRequest
$blogContent : EntityInterface
$crumbs : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForArchivesByDate()

日付別アーカイブ一覧の view 用変数を取得する

public getViewVarsForArchivesByDate(ResultSet $posts, string $year, string $month, string $day, BlogContent $blogContent) : array<string|int, mixed>
Parameters
$posts : ResultSet
$year : string
$month : string
$day : string
$blogContent : BlogContent
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForArchivesByTag()

タグ別アーカイブ一覧の view 用変数を取得する

public getViewVarsForArchivesByTag(ResultSet $posts, string $tag, BlogContent $blogContent) : array<string|int, mixed>
Parameters
$posts : ResultSet
$tag : string
$blogContent : BlogContent
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

getViewVarsForIndex()

プレビュー用の view 変数を取得する

public getViewVarsForIndex(ServerRequest $request, BlogContent $blogContent, ResultSet $posts) : array<string|int, array<string|int, mixed>>
Parameters
$request : ServerRequest
$blogContent : BlogContent
$posts : ResultSet
Tags
checked
noTodo
unitTest
Return values
array<string|int, array<string|int, mixed>>

getViewVarsForSingle()

ブログ記事詳細ページの view 用変数を取得する

public getViewVarsForSingle(ServerRequest $request, EntityInterface $blogContent, array<string|int, mixed> $crumbs) : array<string|int, mixed>
Parameters
$request : ServerRequest
$blogContent : EntityInterface
$crumbs : array<string|int, mixed>
Tags
checked
noTodo
unitTest
Return values
array<string|int, mixed>

setupPreviewForArchives()

プレビュー用のセットアップをする

public setupPreviewForArchives(Controller $controller) : void
Parameters
$controller : Controller
Tags
checked
noTodo
unitTest

setupPreviewForIndex()

プレビュー用のセットアップをする

public setupPreviewForIndex(Controller $controller) : void
Parameters
$controller : Controller
Tags
checked
noTodo
unitTest

        
On this page

Search results