| 1 | <?php |
||
| 18 | class Widget extends \yii\base\Widget |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var boolean Whether to find view files inside the `@app/views` folder or the original widget implementation. |
||
| 22 | */ |
||
| 23 | public $useAppViewPath = false; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Find view paths in application folder. |
||
| 27 | * |
||
| 28 | * @inheritDoc |
||
| 29 | * |
||
| 30 | * @see \yii\base\Widget::getViewPath() |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public function getViewPath() |
||
| 44 | } |
||
| 45 |