摘要: send=$send; } abstract public function msg($content); public function send($to,$content){ $content=$this->msg($content); $this->send->send($to,$content); ... 阅读全文
posted @ 2016-08-23 17:14 骏码信息 阅读(280) 评论(0) 推荐(0)
摘要: 28 ,'wind'=> 7,'sun'=>'sunny'); return serialize($today); } } //增加一个适配器,转换为json格式的数据 class AdapterTianqi extends tianqi{ public static function show(){ ... 阅读全文
posted @ 2016-08-23 14:18 骏码信息 阅读(239) 评论(0) 推荐(0)
摘要: 在phpcms中show.html 页面添加如上的js 代码实现。 阅读全文
posted @ 2016-08-23 10:56 骏码信息 阅读(1258) 评论(0) 推荐(0)
摘要: content=$content; } public function decorator(){ return $this->content; } } //摘要 class BianArt extends BaseArt{ public function __construct(BaseArt $art){ $this->art=$ar... 阅读全文
posted @ 2016-08-23 10:02 骏码信息 阅读(270) 评论(0) 推荐(0)