Yii创建模块
来源:互联网 发布:网络试听证 编辑:程序博客网 时间:2024/06/01 09:05
./protected/yiic shell
Yii Interactive Tool v1.1 (based on Yii v1.1.8)
Please type 'help' for help. Type 'exit' to quit.
>> help
At the prompt, you may enter a PHP statement or one of the following commands:
- controller
- crud
- form
- help
- model
- module
Type 'help <command-name>' for details about a command.
To expand the above command list, place your command class files
under 'protected/commands/shell', or a directory specified
by the 'YIIC_SHELL_COMMAND_PATH' environment variable. The command class
must extend from CConsoleCommand.
>> module UserManagement
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/components
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/messages
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/controllers
generate controllers/DefaultController.php
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views/default
generate views/default/index.php
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views/layouts
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/models
generate UserManagementModule.php
Module 'UserManagement' has been created under the following folder:
/home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement
You may access it in the browser using the following URL:
http://hostname/path/to/index.php?r=UserManagement
Note, the module needs to be installed first by adding 'UserManagement'
to the 'modules' property in the application configuration.
>> exit
Yii Interactive Tool v1.1 (based on Yii v1.1.8)
Please type 'help' for help. Type 'exit' to quit.
>> help
At the prompt, you may enter a PHP statement or one of the following commands:
- controller
- crud
- form
- help
- model
- module
Type 'help <command-name>' for details about a command.
To expand the above command list, place your command class files
under 'protected/commands/shell', or a directory specified
by the 'YIIC_SHELL_COMMAND_PATH' environment variable. The command class
must extend from CConsoleCommand.
>> module UserManagement
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/components
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/messages
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/controllers
generate controllers/DefaultController.php
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views/default
generate views/default/index.php
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/views/layouts
mkdir /home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement/models
generate UserManagementModule.php
Module 'UserManagement' has been created under the following folder:
/home/shuyong/PHPWebSite/trunk/03代码开发/SiMinWuShuShe/WebApp/protected/modules/UserManagement
You may access it in the browser using the following URL:
http://hostname/path/to/index.php?r=UserManagement
Note, the module needs to be installed first by adding 'UserManagement'
to the 'modules' property in the application configuration.
>> exit
- Yii创建模块
- yii 创建模块
- yii 创建模块
- YII框架使用gii创建模块
- yii 模块
- yii 模块
- YII linux 下用命令创建应用及分模块创建应用
- Yii日志模块
- YII 小模块功能
- 【Yii】模块module
- 25.Yii 模块
- 26.Yii 模块(2)
- yii创建widget
- Yii创建控制器
- yii 创建 验证码
- 创建yii 项目
- YII创建应用
- yiic创建YII应用
- 超级原创xxMix android:onClick上帝啊,不知道有没有人用过,我用了,在网上好多鸟回答乱七八糟,自己找到了
- 取表结构 t-sql
- 应变片原理,小变形测量 http://zy.swust.net.cn/01/1/jzjg0/2/2.3/2.3.htm
- 全双工与半双工的区别
- Eclipse快捷键
- Yii创建模块
- TCP 和 UDP 的区别及部分端口号(含三次握手形象介绍)
- 一安逸就想找抽
- 来自糗百。。爱自习的同学伤不起。。
- 用移动硬盘安装win7
- Ubuntu 11.04配置gdm使之能被xmanager访问
- PHP 胡杨林介绍
- Java关键字final、static使用总结
- Linux下主机名修改