JApplicationHelper: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
[[JApplicationHelper]] is a class which provides helper functions for using JApplication. JApplicationHelper has functions to help you get client information, paths, and parse XML files into associative arrays. | |||
===Defined in=== | ===Defined in=== | ||
| Line 34: | Line 31: | ||
<source lang="php">jimport( 'joomla.application.helper' );</source> | <source lang="php">jimport( 'joomla.application.helper' );</source> | ||
{{subst:SeeAlso:JApplicationHelper}} | |||
{{SeeAlso:JApplicationHelper}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 13:38, 24 March 2017
JApplicationHelper is a class which provides helper functions for using JApplication. JApplicationHelper has functions to help you get client information, paths, and parse XML files into associative arrays.
Defined in
libraries/joomla/application/helper.php
Methods
| Method name | Description |
|---|---|
| getComponentName | Return the name of the request component [main component] |
| getClientInfo | Gets information on a specific client id. This method will be useful in future versions when we start mapping applications in the database. |
| addClientInfo | Adds information for a client. |
| getPath | Get a path |
| parseXMLInstallFile | Parse a XML install manifest file. |
| parseXMLLangMetaFile |
Importing
jimport( 'joomla.application.helper' );
{{subst:SeeAlso:JApplicationHelper}}
Examples
<CodeExamplesForm />