API16

JApplicationHelper: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 32: Line 32:




{{subst:SeeAlso:JApplicationHelper}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JApplicationHelper
  category=JApplicationHelper
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:18, 25 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' );



Examples

Code Examples