MVC in Joomla! -- Component
<br />创建一个最基本的组件需要5个文件<br />site/hello.php 这个是组件的入口<br />site/controller.php 控制器<br />site/views/hello/view.html.php 视图,它将接受显示所需要的数据,并把数据传递给模板文件<br />site/views/hello/tmpl/default.php 模板文件<br />hello.xml 这个文件将告诉 Jooml
原创
2011-02-27 11:26:00 ·
729 阅读 ·
0 评论