API16

JApplicationHelper: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
No edit summary
m clean up
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
[[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.
<nowiki>[</nowiki>[[Description:JApplicationHelper|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JApplicationHelper}}


===Defined in===
===Defined in===
Line 34: Line 31:
<source lang="php">jimport( 'joomla.application.helper' );</source>
<source lang="php">jimport( 'joomla.application.helper' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JApplicationHelper|Edit See Also]]<nowiki>]</nowiki>
{{subst:SeeAlso:JApplicationHelper}}
</span>
{{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 />