PHP 클래스 BcAppView

상속: extends View
파일 보기 프로젝트 열기: baserproject/basercms

공개 프로퍼티들

프로퍼티 타입 설명
$elementCache string エレメントキャッシュ
$pageTitle string ページタイトル

보호된 프로퍼티들

프로퍼티 타입 설명
$_passedVars array List of variables to collect from the associated controller
$_viewFilesLog array テンプレートファイル一覧出力用 デバッグモード2で利用

공개 메소드들

메소드 설명
dispatchEvent ( string $name, array $params = [], $options = [] ) : mixed イベントを発火
evaluate ( $viewFile, array $dataForView ) : string Sandbox method to evaluate a template / view script in.

보호된 메소드들

메소드 설명
_evaluate ( string $viewFile, array $dataForView ) : string Sandbox method to evaluate a template / view script in.
_getElementFileName ( string $name ) : mixed Finds an element filename, returns false on failure.
_getExtensions ( ) : array Get the extensions that view files can use.
_getLayoutFileName ( string $name = null ) : string Returns layout filename for this template as a string.
_getViewFileName ( string $name = null ) : string Returns filename of given action's template file (.ctp) as a string.
_paths ( string $plugin = null, boolean $cached = true ) : array Return all possible paths to find view files in order

메소드 상세

_evaluate() 보호된 메소드

Sandbox method to evaluate a template / view script in.
protected _evaluate ( string $viewFile, array $dataForView ) : string
$viewFile string Filename of the view
$dataForView array Data to include in rendered view. If empty the current View::$viewVars will be used.
리턴 string Rendered output

_getElementFileName() 보호된 메소드

Finds an element filename, returns false on failure.
protected _getElementFileName ( string $name ) : mixed
$name string The name of the element to find.
리턴 mixed Either a string to the element filename or false when one can't be found.

_getExtensions() 보호된 메소드

Get the extensions that view files can use.
protected _getExtensions ( ) : array
리턴 array Array of extensions view files use.

_getLayoutFileName() 보호된 메소드

Returns layout filename for this template as a string.
protected _getLayoutFileName ( string $name = null ) : string
$name string The name of the layout to find.
리턴 string Filename for layout file (.ctp).

_getViewFileName() 보호된 메소드

CamelCased action names will be under_scored! This means that you can have LongActionNames that refer to long_action_names.ctp views.
protected _getViewFileName ( string $name = null ) : string
$name string Controller action to find template filename for
리턴 string Template filename

_paths() 보호된 메소드

Return all possible paths to find view files in order
protected _paths ( string $plugin = null, boolean $cached = true ) : array
$plugin string Optional plugin name to scan for view files.
$cached boolean Set to true to force a refresh of view paths.
리턴 array paths

dispatchEvent() 공개 메소드

イベントを発火
public dispatchEvent ( string $name, array $params = [], $options = [] ) : mixed
$name string
$params array
리턴 mixed

evaluate() 공개 메소드

Sandbox method to evaluate a template / view script in.
public evaluate ( $viewFile, array $dataForView ) : string
$dataForView array Data to include in rendered view. If empty the current View::$viewVars will be used.
리턴 string Rendered output

프로퍼티 상세

$_passedVars 보호되어 있는 프로퍼티

List of variables to collect from the associated controller
protected array $_passedVars
리턴 array

$_viewFilesLog 보호되어 있는 프로퍼티

テンプレートファイル一覧出力用 デバッグモード2で利用
protected array $_viewFilesLog
리턴 array

$elementCache 공개적으로 프로퍼티

エレメントキャッシュ
public string $elementCache
리턴 string

$pageTitle 공개적으로 프로퍼티

ページタイトル
public string $pageTitle
리턴 string