ViewContextInterface
API reference › yii › base › ViewContextInterface
Implemented by 5 types
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.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
getViewPath() abstract | ViewContextInterface |
Method details
Section titled “Method details”getViewPath()
Section titled “getViewPath() ”abstract public function getViewPath(): stringReturns
string: The view path that may be prefixed to a relative view name.