81898
请问control应该怎么扩展?
回帖数 5
阅读数 3687
发表时间 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 王春生 回帖
联系我们
联系人
刘斌/高级客户经理
电话(微信)
17685869372
QQ号码
526288068
联系邮箱
liubin@chandao.com

相关帖子
龙飞 | 最后回帖 2016-11-29 17:02 石洋洋
张某某 | 最后回帖 2016-09-09 10:16 石洋洋
yan | 最后回帖 2021-01-29 13:16 禅道-李锡碧
冯先生 | 最后回帖 2016-05-10 17:38 石洋洋
speed | 最后回帖 2016-08-29 14:11 石洋洋
乐润-小戴 | 最后回帖 2019-01-15 11:24 禅道-李锡碧


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


