Overview

Packages

  • CONTENIDO
  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • mpAutoloaderClassMap
  • None
  • PHP
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SIWECOS
    • SmartyWrapper
    • UrlShortener
    • UserForum
    • Workflow
  • PluginManager
  • Setup
    • Form
    • GUI
    • Helper
      • Environment
      • Filesystem
      • MySQL
      • PHP
    • UpgradeJob

Classes

  • cUri
  • cUriBuilder
  • cUriBuilderConfig
  • cUriBuilderCustom
  • cUriBuilderCustomPath
  • cUriBuilderFactory
  • cUriBuilderFrontcontent

Exceptions

  • NotInitializedException
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class cUriBuilder

URI builder class.

Direct known subclasses

cUriBuilderCustom, cUriBuilderCustomPath, cUriBuilderFrontcontent, cUriBuilderMR
Abstract
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.php
Methods summary
public static
# getInstance( )

Implementation of Singleton.

Implementation of Singleton.

It is meant to be an abstract function but not declared as abstract, because PHP Strict Standards are against abstract static functions.

Throws

cBadMethodCallException
if child class has not implemented this function
public
# setHttpBasePath( string $sBasePath )

Set http base path. E.g. http://contenido.org/

Set http base path. E.g. http://contenido.org/

Parameters

$sBasePath
string
$sBasePath
public string
# getHttpBasePath( )

Return http base path. E.g. http://contenido.org/

Return http base path. E.g. http://contenido.org/

Returns

string
abstract public
# buildUrl( array $aParams, boolean $bUseAbsolutePath = false )

Builds a URL in index-a-1.html style.

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

$aParams
array
$aParams
$bUseAbsolutePath
boolean
$bUseAbsolutePath [optional]

Throws

cInvalidArgumentException
public string
# getUrl( )

Return built URL.

Return built URL.

Returns

string
Properties summary
protected string $sUrl
#

Holds final value of built URL.

Holds final value of built URL.

protected string $sHttpBasePath
#

Holds URL that is used as base for an absolute path E.g. http://contenido.org/

Holds URL that is used as base for an absolute path E.g. http://contenido.org/

CMS CONTENIDO 4.10.1 API documentation generated by ApiGen 2.8.0