API15

JApplication/getPath: Difference between revisions

From Joomla! Documentation

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


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getPath
  category=getPath
  category=JApplication
  category=JApplication
  category=CodeExample
  namespace=CodeExample
  category=MethodExample
  category=MethodExample
  include=*
  include=*

Latest revision as of 00:16, 25 March 2017

Description

Deprecated, use JApplicationHelper::getPath instead.


<! removed transcluded page call, red link never existed >

Syntax

getPath($varname, $user_option=null)
Parameter Name Default Value Description
$varname
$user_option null

Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

function getPath($varname, $user_option = null)
{
        jimport('joomla.application.helper');
        return JApplicationHelper::getPath ($varname, $user_option);
}


<! removed transcluded page call, red link never existed >

Examples

Code Examples