摘要: 模型: 管理数据 控制器:执行任务,设置或者获取模型的状态,请求视图显示 视图:显示被控件选中的内容 (1)Setting the controller JController是一个管理控制器的类, 在site/helloworld.php添加如下代码。input; $controller->execute($input->getCmd('task')); // Redirect if se... 阅读全文
posted @ 2015-08-28 23:09 codergma 阅读(363) 评论(0) 推荐(0) 编辑
摘要: (1)Public display 在components/com_helloworld/ 创建文件 helloworld.php 包含内容 Hello world 测试 index.php?option=com_helloworld (2)Administrator management 在administrator/components/com_helloword.php 包含内容... 阅读全文
posted @ 2015-08-28 22:49 codergma 阅读(189) 评论(0) 推荐(0) 编辑