baserCMS クラスリファレンス

BlogFrontAppView extends BcFrontAppView
in package

Class BlogAppView

Table of Contents

Properties

$BcBaser  : BcBaserHelper
$BcContents  : BcContentsHelper
$BcForm  : BcFormHelper
$BcText  : BcTextHelper
$BcTime  : BcTimeHelper
$BcToolbar  : BcToolbarHelper
$BcUpload  : BcUploadHelper
$BcWidgetArea  : BcWidgetAreaHelper
$Blog  : BlogHelper
$Rss  : RssHelper
$_View  : View
View

Methods

dispatchLayerEvent()  : bool|Event
イベントを発火
evaluate()  : string
テンプレートを描画する 固定ページで利用
getExt()  : string
拡張子を取得する
initialize()  : void
initialize
_getElementFileName()  : string|false
Finds an element filename, returns false on failure.
_getLayoutFileName()  : string
Returns layout filename for this template as a string.
_getTemplateFileName()  : string
Returns filename of given action's template file as a string.
setThemeHelpers()  : void
テーマ用のヘルパーをセットする

Properties

Methods

dispatchLayerEvent()

イベントを発火

public dispatchLayerEvent(string $name[, array<string|int, mixed> $data = [] ][, mixed $options = [] ]) : bool|Event
Parameters
$name : string
$data : array<string|int, mixed> = []
$options : mixed = []
Tags
checked
unitTest
noTodo
Return values
bool|Event

evaluate()

テンプレートを描画する 固定ページで利用

public evaluate(string $templateFile) : string
Parameters
$templateFile : string

Filename of the template.

Tags
checked
noTodo
Return values
string

Rendered output

getExt()

拡張子を取得する

public getExt() : string
Tags
checked
noTodo
Return values
string

initialize()

initialize

public initialize() : void
Tags
checked
noTodo
unitTest

_getElementFileName()

Finds an element filename, returns false on failure.

protected _getElementFileName(string $name[, bool $pluginCheck = true ]) : string|false
Parameters
$name : string

The name of the element to find.

$pluginCheck : bool = true
  • if false will ignore the request's plugin if parsed plugin is not loaded
Return values
string|false

Either a string to the element filename or false when one can't be found.

_getLayoutFileName()

Returns layout filename for this template as a string.

protected _getLayoutFileName([string|null $name = null ]) : string
Parameters
$name : string|null = null

The name of the layout to find.

Tags
throws
MissingLayoutException

when a layout cannot be located

throws
RuntimeException
Return values
string

Filename for layout file.

_getTemplateFileName()

Returns filename of given action's template file as a string.

protected _getTemplateFileName([string|null $name = null ]) : string

CamelCased action names will be under_scored by default. This means that you can have LongActionNames that refer to long_action_names.php templates. You can change the inflection rule by overriding _inflectTemplateFileName.

Parameters
$name : string|null = null

Controller action to find template filename for

Tags
throws
MissingTemplateException

when a template file could not be found.

throws
RuntimeException

When template name not provided.

Return values
string

Template filename

setThemeHelpers()

テーマ用のヘルパーをセットする

protected setThemeHelpers() : void
Tags
checked
noTodo

        
On this page

Search results