contenido\classes\UrlBuilder\Contenido_UrlBuilder.class.php
Project:
Contenido Content Management System
Description: Abstract implementation of Contenido_UrlBuilder.
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-21 modified 2008-09-29, Murat Purc, added getHttpBasePath() method $Id: Contenido_UrlBuilder.class.php 928 2008-12-27 12:50:30Z xmurrix $: }}
- Package
- Contenido Backend classes
- Version
- 1.0.0
\Contenido_UrlBuilder
Package: Default
Parameters
Throws
Details
Returns
Returns
Details
- Children
- \Contenido_UrlBuilder_Custom
- \Contenido_UrlBuilder_CustomPath
- \Contenido_UrlBuilder_Frontcontent
Properties


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


buildUrl(array $aParams, boolean $bUseAbsolutePath = false) : void
abstract
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 |
Exception | Description |
---|---|
\InvalidArgumentException |
- Author
- Rudi Bieller


getHttpBasePath() : string
Return http base path, e.g.
http://contenido.org/
Type | Description |
---|---|
string |


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