gtgetpage_title // 设 置 标 题document-gtsetDescription params-gtgetpage_description //设置 metacontents JComponentHelper::renderComponentcomponentdocument-gtsetBuffer contents component可以看到最为关键的是 JComponentHelper::renderComponentcomponent再看看这一行程序完成了那些工作task JRequest::getString task // Build the component pathname preg_replace/A-Z0-9_.-/i namefile substr name 4 // Define component pathdefine JPATH_COMPONENT JPATH_BASE.DS.components.DS.namedefine JPATH_COMPONENT_SITE JPATH_SITE.DS.components.DS.namedefine JPATH_COMPONENT_ADMINISTRATORJPATH_ADMINISTRATOR.DS.components.DS.name// get component pathif mainframe-gtisAdmin ampamp file_existsJPATH_COMPONENT.DS.admin..file..php path JPATH_.
上一篇:
【精品】动手编Basic解释器
下一篇:
多年来只想说一句,我不怪你