摘要: apc定义:apc是一个开放自由的php opcode缓存。它的目标是提供一个自由、开放和健全的框架,用于缓存和优化php中间代码。apc常用函数:1.apc_clear_cache() 清楚apc缓存内容2.apc_define_constants(string key,array constants,[,bool case_sensitive]) 将数组constants以常量加入缓存3.apc_load_constants(string key) 取出常量缓存4.apc_store(string key,mixed var [, int ttl]) 在缓存中保存数据5.apc_fet.. 阅读全文
posted @ 2013-04-08 20:48 jaky666 阅读(444) 评论(0) 推荐(0)
摘要: SetFilter("cat_id",array(2));//仅在id为1、3、7的子论坛中搜索$cl->SetFilter("forum_id",array(1,3,7));//范围筛选//筛选发布时间为今天,参数为int时间戳$cl->SetFilterRange("starttime",123,124);//筛选价格$cl->SetFilterRange("price",10.0,99.9);// 分组//按照item_id分组,并且按照orderdesc排序$cl->SetGroup 阅读全文
posted @ 2013-04-08 20:21 jaky666 阅读(755) 评论(0) 推荐(0)