Joomla!模板文件中可以使用一些特定的函数,实现一些指定的功能,具体的函数清单如下:
addCustomTag
addFavicon
addHeadLink
addScript
addScriptDeclaration
addStyleDeclaration
addStyleSheet
countModules
getBase
getBuffer
getCharset
getDescription
getHeadData
getInstance
getLanguage
getLink
getMetaData
getModifiedDate
getTitle
getType
loadRenderer
render
setBase
setBuffer
setCharset
setDescription
setDirection
setGenerator
setHeadData
setLanguage
setLineEnd
setLink
setMetaData
setMimeEncoding
setModifiedDate
setTab
setTitle
setType
原文地址:http://docs.joomla.org/Objects_methods_and_properties_available_from_your_template