上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 75 下一页
摘要: phalcon: 【非官方】多模块 配合router使用 例如:我的模块叫做: home 入口文件增加引入: 在自动引入前面增加,自动引入命名空间: 增加router规则: 第二步:在你home的controller文件夹下,都要定义命名空间 如:IndexController 目录结构如下: 阅读全文
posted @ 2016-09-18 22:30 午火39 阅读(582) 评论(0) 推荐(0)
摘要: phtml: 方法二:远程文件 phtml: 同上 方法三: phtml: 阅读全文
posted @ 2016-09-18 22:19 午火39 阅读(1490) 评论(0) 推荐(0)
摘要: The above example performs a validation using the built-in validator “InclusionIn”. It checks the value of the field “type” in a domain list. If the v 阅读全文
posted @ 2016-09-17 21:25 午火39 阅读(979) 评论(0) 推荐(0)
摘要: 事件与事件管理器(Events and Events Manager)¶ Models allow you to implement events that will be thrown when performing an insert/update/delete. They help defin 阅读全文
posted @ 2016-09-17 21:16 午火39 阅读(831) 评论(0) 推荐(0)
摘要: 可用的查询设置如下: If you prefer, there is also available a way to create queries in an object-oriented way, instead of using an array of parameters: 阅读全文
posted @ 2016-09-17 19:50 午火39 阅读(1403) 评论(0) 推荐(0)
摘要: 单表count: 多表count: $result = $this->modelsManager->createBuilder() ->columns("SysContractWarn.con_warn_id") ->from("SysCustomer") ->join("SysContract", 阅读全文
posted @ 2016-09-16 11:04 午火39 阅读(1867) 评论(0) 推荐(0)
摘要: phalcon几种分页方法 一: 二: 基于模糊查找的分页: 阅读全文
posted @ 2016-09-14 17:58 午火39 阅读(4458) 评论(0) 推荐(0)
摘要: phalcon(费尔康)框架学习笔记 http://www.qixing318.com/article/phalcon-framework-to-study-notes.html 目录结构 目录结构 目录结构 phalcon(费尔康)框架学习笔记 以实例程序invo为例(invo程序放在网站根目录下 阅读全文
posted @ 2016-09-14 17:06 午火39 阅读(11154) 评论(0) 推荐(0)
摘要: phalcon:数据库分库,读写分离,负载均衡 系统方法执行顺序 用命名空间区分不同的数据库实例,对应代码结构上是不同的目录区分,在同一目录下基类负责初始化连接。连接来自初始化时注入的多个db服务 隐规则: initialize()在每个请求期间只会调用一次 为每个 new 创建的实例执行初始化任务 阅读全文
posted @ 2016-09-14 16:57 午火39 阅读(1324) 评论(1) 推荐(0)
摘要: window-exe-redis-2.8.12服务,当你复制好php_igbinary.dll,php_redis.dll时候,你运行redis报错:Fatal error: Uncaught exception 'RedisException' with message 'Redis server 阅读全文
posted @ 2016-09-14 09:44 午火39 阅读(13181) 评论(0) 推荐(0)
上一页 1 ··· 61 62 63 64 65 66 67 68 69 ··· 75 下一页