您的位置:首页 > 其它

Joomla模块开发

2010-11-07 19:12 141 查看
最近用Joomla做一个系统,需要的一些功能需要自己写组件,这里记录一下Joomla模块的开发过过程

建立一个models目录

products.php



product.php



建立目录views . 这个目录的根目录下文件是获得视图对象

com_products->views->products->view.html.php



com_products->views->product->view.html.php

.....代码和上面类似,都是得到取得想到的数据

com_products->views->products->tmpl->default.php



com_products->controller.php



com_products->router.php



这样,一个Joomla模块的开发基本就完成了。记录一下,以作以后查阅...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: