API15

API15:JApplication/getCfg

From Joomla! Documentation

Revision as of 00:16, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Syntax

getCfg($varname)
Parameter Name Default Value Description
$varname

Defined in

libraries/joomla/application/application.php

Importing

jimport( 'joomla.application.application' );

Source Body

function getCfg( $varname )
{
        $config =& JFactory::getConfig();
        return $config->getValue('config.' . $varname);
}


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

Examples

Code Examples