API16

JApplicationHelper: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JApplicationHelper}} =...
 
m preparing for archive only
 
(2 intermediate revisions by 2 users not shown)
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 30: Line 27:
|
|
|}
|}
===Importing===
===Importing===
<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>
 
</span>
{{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