Overview

Packages

  • Core
    • Authentication
    • Backend
    • Cache
    • CEC
    • Chain
    • ContentType
    • Database
    • Datatype
    • Debug
    • Exception
    • Frontend
      • Search
      • URI
      • Util
    • GenericDB
      • Model
    • GUI
      • HTML
    • I18N
    • LayoutHandler
    • Log
    • Security
    • Session
    • Util
    • Validation
    • Versioning
    • XML
  • Module
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationMain
    • NavigationTop
  • mpAutoloaderClassMap
  • None
  • Plugin
    • ContentAllocation
    • CronjobOverview
    • FormAssistant
    • FrontendLogic
    • FrontendUsers
    • Linkchecker
    • ModRewrite
    • Newsletter
    • Repository
      • FrontendNavigation
      • KeywordDensity
    • SearchSolr
    • 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. It is meant to be an abstract function but not declared as abstract, because PHP Strict Standards are against abstract static functions.

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( mixed $sBasePath )

Set http base path, e.g. http://contenido.org/

Set http base path, e.g. http://contenido.org/

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. Index keys of $aParams will be used as "a", corresponding values as "1" in this sample.

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

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.9.0 API documentation generated by ApiGen 2.8.0