Bladeren bron

update readme

朱金辉 2 jaren geleden
bovenliggende
commit
4ab4468388
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      README.md

+ 4 - 4
README.md

@@ -206,7 +206,7 @@
 		}
 	7) View的支持
 		view支持smarty及php
-		class index_controller extends \Qii\Controller\Abstract
+		class index extends \Qii\Controller\Abstract
 		{
 			public function __construct()
 			{
@@ -215,7 +215,7 @@
 			}
 		}
 	8) Controller的使用
-	class test_controller extends \Qii\Controller\Abstract
+	class test extends \Qii\Controller\Abstract
 	{
 		//为了避免Controller逻辑过于复杂,可以将Action拆到单独的文件
 		//当在调用dummy方法的时候会自动执行actions/dummy_action.php中的execute方法
@@ -229,7 +229,7 @@
 	}
 	9) Cache支持
 	Controller中使用Cache
-	class cache_controller extends Controller
+	class cache extends Controller
 	{
 		public function __construct()
 		{
@@ -257,7 +257,7 @@
 	}
 	
 	Model中使用
-	class cache_model extends Model
+	class cache extends Model
 	{
 		public function __construct()
 		{