contenido\classes\UrlBuilder\Contenido_UrlBuilder.class.php

Show: PublicProtectedPrivateinherited
Table of Contents
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
Children
\Contenido_UrlBuilder_Custom
\Contenido_UrlBuilder_CustomPath
\Contenido_UrlBuilder_Frontcontent

Properties

>VPropertyprotectedstring $sHttpBasePath
Details
Type
string
Access
protected  
Desc
Holds URL that is used as base for an absolute path, e.g. http://contenido.org/  
>VPropertyprotectedstring $sUrl
Details
Type
string
Access
protected  
Desc
Holds final value of built URL  

Methods

methodpublicbuildUrl(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.

Parameters
NameTypeDescription
$aParamsarray
$bUseAbsolutePathboolean
Throws
ExceptionDescription
\InvalidArgumentException
Details
Author
Rudi Bieller  
methodpublicgetHttpBasePath() : string

Return http base path, e.g.

http://contenido.org/

Returns
TypeDescription
string
methodpublicgetInstance() : \obj
staticabstract

Implementation of Singleton.

Get instance of concrete Contenido_UrlBuilder_XYZ

Returns
TypeDescription
\objContenido_UrlBuilder_Frontcontent
Details
Access
public  
Author
Rudi Bieller  
methodpublicgetUrl() : string

Return built URL

Returns
TypeDescription
string
Details
Access
public  
Author
Rudi Bieller  
methodpublicsetHttpBasePath( $sBasePath) : void

Set http base path, e.g.

http://contenido.org/

Parameters
NameTypeDescription
$sBasePath
Details
Access
public  
Author
Rudi Bieller  
Documentation was generated by phpDocumentor 2.0.0a12.