81898
请问control应该怎么扩展?
回帖数 5
阅读数 3628
发表时间 2013-01-22 17:20:30
我在模块my中增加一个扩展功能,放在my/ext/control目录中,control文件为helloworld.php,代码如下:
<?php
include '../../control.php';
class helloworldMy extends my
{
public function helloworld($account = '')
{
$this->display();
}
}
访问页面my-helloworld.html时却在日志文件中收到错误,说my模块中找不到helloworld方法,除非把这个方法直接写到my模块的control.php中才行。
ERROR: the module my has no helloworld method in I:\xampp\zentao\framework\router.class.php on line 1101, ..........
2013-01-22 17:23:46 潘超 最后编辑
5个回复
2013-01-23 07:49:59 王春生 回帖
5个回复
网址已经转移了:http://devel.easycorp.cn/book/extension.html
2015-05-25 10:21:56 王春生 回帖
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com

相关帖子
狂奔的鱼 | 最后回帖 2017-05-17 08:57 石洋洋
千 | 最后回帖 2016-02-17 12:28 王春生
WuXin | 最后回帖 2020-11-23 09:19 禅道-李锡碧
曾sir | 最后回帖 2017-10-10 16:21 曾sir
dasawe | 最后回帖 2018-05-04 14:06 dasawe
剧终人散i | 最后回帖 2017-12-01 12:13 禅道-李锡碧


精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


