base\View getViewFile()

getViewFile() public method public string|boolean getViewFile ( )return string|boolean The view file currently being rendered. False if no view file is being rendered.

base\View findViewFile()

findViewFile() protected method Finds the view file based on the given view name. protected string findViewFile ( $view, $context = null )$view string The view name or the path alias of the view file. Please refer to render() on how to specify this parameter. $context object The context to be assigned to the view and can later be accessed via $context in the view. If the context implements yii\base\ViewContextInterface, it may also be used to locate the view file corresponding to a rel

base\View EVENT_END_PAGE

EVENT_END_PAGE event of type yii\base\Event An event that is triggered by endPage().

base\View EVENT_BEGIN_PAGE

EVENT_BEGIN_PAGE event of type yii\base\Event An event that is triggered by beginPage().

base\View EVENT_BEFORE_RENDER

EVENT_BEFORE_RENDER event of type yii\base\ViewEvent An event that is triggered by renderFile() right before it renders a view file.

base\View EVENT_AFTER_RENDER

EVENT_AFTER_RENDER event of type yii\base\ViewEvent An event that is triggered by renderFile() right after it renders a view file.

base\View evaluateDynamicContent()

evaluateDynamicContent() public method Evaluates the given PHP statements. This method is mainly used internally to implement dynamic content feature. public mixed evaluateDynamicContent ( $statements )$statements string The PHP statements to be evaluated. return mixed The return value of the PHP statements.

base\View endPage()

endPage() public method Marks the ending of a page. public void endPage ( )

base\View endContent()

endContent() public method Ends the rendering of content. public void endContent ( )

base\View endCache()

endCache() public method Ends fragment caching. public void endCache ( )