摘要: https://www.kancloud.cn/mikkle/thinkphp5_study/268677 阅读全文
posted @ 2017-07-24 17:54 pengcx 阅读(1840) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2017-07-21 11:33 pengcx 阅读(332) 评论(0) 推荐(0) 编辑
摘要: https://leancloud.cn/ 阅读全文
posted @ 2017-06-19 17:10 pengcx 阅读(142) 评论(0) 推荐(0) 编辑
摘要: https://getyii.com/topic/32 阅读全文
posted @ 2017-06-09 14:01 pengcx 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 镜像用法 有两种方式启用本镜像服务: 系统全局配置: 即将配置信息添加到 Composer 的全局配置文件 config.json 中。见“方法一” 单个项目配置: 将配置信息添加到某个项目的 composer.json 文件中。见“方法二” 方法一: 修改 composer 的全局配置文件(推荐方 阅读全文
posted @ 2017-06-08 16:23 pengcx 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 准备工作 1.打开PHP配置文件E:\xampp\php\php.ini确认以下模块已开启(移除前面的分号)。 extension=php_openssl.dll, extension=php_curl.dll, extension=php_sockets.dll extension=php_ope 阅读全文
posted @ 2017-06-08 14:57 pengcx 阅读(2388) 评论(0) 推荐(0) 编辑
摘要: 1、如果是同磁盘 直接cd 列如cd C:\mysql\bin 2、如果不是同一磁盘 则要2.1 d: 操作 2.2 cd D:\Software\xampp\address\mysql\bin ps d:表示切换到D盘;如果要切换到E盘则e: 阅读全文
posted @ 2017-06-06 13:51 pengcx 阅读(874) 评论(0) 推荐(0) 编辑
摘要: AR的生命周期 http://www.yii-china.com/doc/guide/db_active_record.html 理解AR的生命周期对于你操作数据库非常重要。生命周期通常都会有些典型的事件存在。对于开发AR的behaviors来说非常有用。 当你实例化一个新的AR对象时,我们将获得如 阅读全文
posted @ 2017-05-31 13:14 pengcx 阅读(1427) 评论(0) 推荐(0) 编辑
摘要: 控制器生命周期 http://www.yii-china.com/doc/guide/structure_controllers.html 处理一个请求时,应用主体 会根据请求路由创建一个控制器,控制器经过以下生命周期来完成请求: 如果操作ID没有指定,会使用yii\base\Controller: 阅读全文
posted @ 2017-05-31 11:28 pengcx 阅读(1039) 评论(0) 推荐(0) 编辑
摘要: 1、yii2系统登录 const EVENT_BEFORE_LOGIN = 'beforeLogin'; //登录前 const EVENT_AFTER_LOGIN = 'afterLogin'; //登录后 const EVENT_BEFORE_LOGOUT = 'beforeLogout'; / 阅读全文
posted @ 2017-05-31 11:13 pengcx 阅读(360) 评论(0) 推荐(0) 编辑