AppView
extends View
in package
uses
BcEventDispatcherTrait
Class AppView
Table of Contents
Properties
- $BcBaser : BcBaserHelper
- $BcContents : BcContentsHelper
- $BcForm : BcFormHelper
- $BcTime : BcTimeHelper
- $BcToolbar : BcToolbarHelper
- $BcUpload : BcUploadHelper
- $_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.
Properties
$BcBaser
public
BcBaserHelper
$BcBaser
$BcContents
public
BcContentsHelper
$BcContents
$BcForm
public
BcFormHelper
$BcForm
$BcTime
public
BcTimeHelper
$BcTime
$BcToolbar
public
BcToolbarHelper
$BcToolbar
$BcUpload
public
BcUploadHelper
$BcUpload
$_View
View
protected
View
$_View
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
Return values
bool|Eventevaluate()
テンプレートを描画する 固定ページで利用
public
evaluate(string $templateFile) : string
Parameters
- $templateFile : string
-
Filename of the template.
Tags
Return values
string —Rendered output
getExt()
拡張子を取得する
public
getExt() : string
Tags
Return values
stringinitialize()
initialize
public
initialize() : void
Tags
_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
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
Return values
string —Template filename