API15

JApplication/getBasePath: Difference between revisions

From Joomla! Documentation

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


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=getBasePath
  category=getBasePath
  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 JURI::base() instead.


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

Syntax

getBasePath($client=0, $addTrailingSlash=true)
Parameter Name Default Value Description
$client 0
$addTrailingSlash true

Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

function getBasePath($client=0, $addTrailingSlash = true)
{
        return JURI::base();
}


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

Examples

Code Examples