$viewPrefix public property
A string to be prefixed to the user-specified view name to form a complete view name. For example, if a user requests for tutorial/chap1
, the corresponding view name will be pages/tutorial/chap1
, assuming the prefix is pages
. The actual view file is determined by yii\base\View::findViewFile().
See also yii\base\View::findViewFile().
public string $viewPrefix = 'pages'
Please login to continue.