web\ViewAction $viewPrefix

$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'
doc_Yii
2016-10-30 17:17:38
Comments
Leave a Comment

Please login to continue.