Support

Support Options

Submit a Support Ticket

HomeDocumentation1.0.0Web Developers GuideConfig

Documentation: Web Developers Guide

Config

Joomla! Configuration

Accessing the global Joomla! site configuration:

$jconfig =& JFactory::getConfig();

Retrieving a value from the configuration:

echo $config->getValue('config.sitename');

Last Modified: 2009-10-07 09:56:06 Back to the top

HUB Configuration

Although rarer than accessing the global Joomla! site configuration, sometimes it is necessary to access HUB-specific configurations. This can be done as follows:

$xhub =& XFactory::getHub();

Retrieving a value from the configuration:

echo $xhub->getCfg('hubShortName');

Last Modified: 2009-10-07 10:07:21 Back to the top

Copyright 2014 HUBzero Foundation, LLC. HUBzero® is a registered trademark of the HUBzero Foundation, LLC.