Class cUriBuilderConfig
Configure cUriBuilder URL style. Per default, configures for style index-a-1.html. If you need another style, extend this class to your needs and pass it to desired cUriBuilder.
The cUriBuilderConfig::setConfig() must be called at least once to initialize the desired UriBuilder.
Usage:
// Example for default front_content cUriBuilder $myCfg['name'] = 'front_content'; $myCfg['config'] = array(); cUriBuilderConfig::setConfig($myCfg); // Example for CustomPath cUriBuilder $myCfg['name'] = 'custom_path'; $myCfg['config'] = array('prefix' => 'rocknroll', 'suffix' => '.4fb', 'separator' => ','); cUriBuilderConfig::setConfig($myCfg);
Package: Core\Frontend\URI
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rudi Bieller
Located at classes/uri/class.uribuilder.config.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Rudi Bieller
Located at classes/uri/class.uribuilder.config.php
public static
|
|
public static
string
|
|
public static
array
|
private static
array
|
$_aUriBuilderCfg | array(
'config' => array(
'prefix' => 'index',
'suffix' => '.html',
'separator' => '-'
)
) |
#
UriBuilder configuration array |