ViewContextInterface is the interface that should implemented by classes who want to support relative view names.
The method getViewPath() should be implemented to return the view path that may be prefixed to a relative view name.
Method | Description | Defined By |
---|---|---|
getViewPath() | yii\base\ViewContextInterface |
public abstract string getViewPath ( ) | ||
---|---|---|
return | string |
The view path that may be prefixed to a relative view name. |
© 2008–2017 by Yii Software LLC
Licensed under the three clause BSD license.
http://www.yiiframework.com/doc-2.0/yii-base-viewcontextinterface.html