浏览代码

Refactored View

Alexander Makarov 12 年之前
父节点
当前提交
d9735bc3b7
共有 6 个文件被更改,包括 6 次插入6 次删除
  1. 1 1
      views/layouts/main.php
  2. 1 1
      views/site/about.php
  3. 1 1
      views/site/contact.php
  4. 1 1
      views/site/error.php
  5. 1 1
      views/site/index.php
  6. 1 1
      views/site/login.php

+ 1 - 1
views/layouts/main.php

@@ -5,7 +5,7 @@ use yii\bootstrap\NavBar;
 use yii\widgets\Breadcrumbs;
 
 /**
- * @var $this \yii\base\View
+ * @var $this \yii\web\View
  * @var $content string
  */
 app\config\AppAsset::register($this);

+ 1 - 1
views/site/about.php

@@ -2,7 +2,7 @@
 use yii\helpers\Html;
 
 /**
- * @var yii\base\View $this
+ * @var yii\web\View $this
  */
 $this->title = 'About';
 $this->params['breadcrumbs'][] = $this->title;

+ 1 - 1
views/site/contact.php

@@ -4,7 +4,7 @@ use yii\widgets\ActiveForm;
 use yii\captcha\Captcha;
 
 /**
- * @var yii\base\View $this
+ * @var yii\web\View $this
  * @var yii\widgets\ActiveForm $form
  * @var app\models\ContactForm $model
  */

+ 1 - 1
views/site/error.php

@@ -3,7 +3,7 @@
 use yii\helpers\Html;
 
 /**
- * @var yii\base\View $this
+ * @var yii\web\View $this
  * @var string $name
  * @var string $message
  * @var Exception $exception

+ 1 - 1
views/site/index.php

@@ -1,6 +1,6 @@
 <?php
 /**
- * @var yii\base\View $this
+ * @var yii\web\View $this
  */
 $this->title = 'My Yii Application';
 ?>

+ 1 - 1
views/site/login.php

@@ -3,7 +3,7 @@ use yii\helpers\Html;
 use yii\widgets\ActiveForm;
 
 /**
- * @var yii\base\View $this
+ * @var yii\web\View $this
  * @var yii\widgets\ActiveForm $form
  * @var app\models\LoginForm $model
  */