路径:/joomla/administrator/index.php?option=com_content&layout=edit&id=5

路径中的layout表示什么,整个路径最后会指向什么文件或者某个方法?
已邀请:

admin - Joomla发烧友,灌篮高手粉丝

赞同来自:

layout代表了view下tmpl的文件名。上面最终执行的文件为administrator/components/com_content/views/article/tmpl/edit.php。
 
Joomla有一套自己的route机制,其基本是现实MVC设计模式。
 
 
 
 

要回复问题请先登录注册