contenido\classes\UrlBuilder\Contenido_UrlBuilder_Custom.class.php
Project:
Contenido Content Management System
Description: Implementation of IContenido_Frontend_Navigation_UrlBuilder to build URL in style index-a-1.html without category path.
Requirements:
- Author
- Rudi Bieller
- Con_php_req
- 5.0
- Copyright
- four for business AG
- License
- http://www.contenido.org/license/LIZENZ.txt
- Link
- http://www.4fb.de
- Link
- {@internal created 2008-02-20 modified 2008-02-28 Changed to using Config for URL style $Id: Contenido_UrlBuilder_Custom.class.php 738 2008-08-27 10:21:19Z timo.trautmann $: }}
- Package
- Contenido Backend classes
- Version
- 1.0.0
\Contenido_UrlBuilder_Custom
Package: Default

Parameters
Throws
Details
Returns
Details
- Parent(s)
- \Contenido_UrlBuilder
Properties


string $sHttpBasePath
inheritedInherited from:
\Contenido_UrlBuilder::$$sHttpBasePath
Details
- Type
- string
- Access
- protected
- Desc
- Holds URL that is used as base for an absolute path, e.g. http://contenido.org/
- Inherited_from
- \Contenido_UrlBuilder::$$sHttpBasePath


string $sUrl
inheritedInherited from:
\Contenido_UrlBuilder::$$sUrl
Details
- Type
- string
- Access
- protected
- Desc
- Holds final value of built URL
- Inherited_from
- \Contenido_UrlBuilder::$$sUrl
Methods


buildUrl(array $aParams, boolean $bUseAbsolutePath = false, array $aConfig = array()) : void
Builds a URL in index-a-1.html style.
Index keys of $aParams will be used as "a", corresponding values as "1" in this sample.
Name | Type | Description |
---|---|---|
$aParams | array | |
$bUseAbsolutePath | boolean | |
$aConfig | array | If not set, will use UrlBuilderConfig::getConfig() |
Exception | Description |
---|---|
\InvalidArgumentException |
- Author
- Rudi Bieller


getInstance() : \obj
static
Get instance of Contenido_UrlBuilder_Frontcontent
Get instance of concrete Contenido_UrlBuilder_XYZ
Type | Description |
---|---|
\obj | Contenido_UrlBuilder_Frontcontent |
- Access
- public
- Author
- Rudi Bieller