baserCMS クラスリファレンス

BlogAdminAppView extends BcAdminAppView
in package

Class BlogAdminAppView

Table of Contents

Properties

$BcAdmin  : BcAdminHelper
$BcAdminForm  : BcAdminFormHelper
$BcAuth  : BcAuthHelper
$BcBaser  : BcBaserHelper
$BcBaser  : BcBaserHelper
$BcContents  : BcContentsHelper
$BcContents  : BcContentsHelper
$BcForm  : BcFormHelper
$BcForm  : BcFormHelper
$BcFormTable  : BcFormTableHelper
$BcHtml  : BcHtmlHelper
$BcListTable  : BcListTableHelper
$BcSiteConfig  : BcSiteConfigHelper
$BcText  : BcTextHelper
$BcTime  : BcTimeHelper
$BcToolbar  : BcToolbarHelper
$BcUpload  : BcUploadHelper
$Blog  : BlogHelper
$_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.
_paths()  : array<string|int, mixed>
_paths

Properties

$BcContents

public BcContentsHelper $BcContents

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

_paths()

_paths

protected _paths([string|null $plugin = null ][, bool $cached = true ]) : array<string|int, mixed>

管理画面のファイルを別のテーマのテンプレートで上書きするためのパスを追加する 別のテーマは、 setting.php で、 BcApp.customAdminTheme として定義する

Parameters
$plugin : string|null = null
$cached : bool = true
Tags
checked
unitTest
noTodo
Return values
array<string|int, mixed>

        
On this page

Search results