Contenido_UrlBuilderConfig
The cUriBuilderrConfig::setConfig() must be called at least once to initialize the desired UriBuilder.
// Example for default front_content UriBuilder
$myCfg['name'] = 'front_content';
$myCfg['config'] = array();
cUriBuilderConfig::setConfig($myCfg);
// Example for CustomPath UriBuilder
$myCfg['name'] = 'custom_path';
$myCfg['config'] = array('prefix' => 'rocknroll', 'suffix' => '.4fb',
'separator' => ',');
cUriBuilderConfig::setConfig($myCfg);
deprecated | [2012-09-04] Use cUriBuilderConfig instead of this class. |
---|
getConfig() : array
deprecated | 2012-09-04 this function is not supported any longer use function located in cUriBuilderConfig instead of this function |
---|
\cException |
If UriBuilder configuration wasn't initialized before |
---|
array
UriBuilder configurationgetUriBuilderName() : string
inherited_from | \cUriBuilderConfig::getUriBuilderName() |
---|
\cException |
If UriBuilder configuration wasn't initialized before |
---|
string
UriBuilder namegetUrlBuilderName()
deprecated | 2012-09-06 this function is not supported any longer use function located in cUriBuilderConfig instead of this function |
---|
setConfig(array $cfg)
deprecated | 2012-09-06 this function is not supported any longer use function located in cUriBuilderConfig instead of this function |
---|
array
Assoziative configuration array as follows: - $cfg['name'] = Name of UriBuilder class to use - $cfg['config'] = UriBuilder configuration
\cInvalidArgumentException |
If $cfg ist empty, $cfg['name'] is missing or $cfg['config'] exists but is not a array |
---|
__construct()
deprecated | 2012-09-06 this function is not supported any longer use function located in cUriBuilderConfig instead of this function |
---|
$_aUriBuilderCfg : array
inherited_from | \cUriBuilderConfig::$$_aUriBuilderCfg |
---|