setViewPath() public method (available since version 2.0.7)
Sets the directory that contains the view files.
public void setViewPath ( $path ) | ||
---|---|---|
$path | string |
The root directory of view files. |
throws | yii\base\InvalidParamException |
if the directory is invalid |
Please login to continue.