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
    • ContentRssCreator
    • ContentSitemapHtml
    • ContentSitemapXml
    • ContentUserForum
    • NavigationTop
    • ScriptCookieDirective
  • 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
  • Smarty
    • Cacher
    • Compiler
    • Config
    • Debug
    • PluginsBlock
    • PluginsFilter
    • PluginsFunction
    • PluginsInternal
    • PluginsModifier
    • PluginsModifierCompiler
    • PluginsShared
    • Security
    • Template
    • TemplateResources
  • Swift
    • ByteStream
    • CharacterStream
    • Encoder
    • Events
    • KeyCache
    • Mailer
    • Mime
    • Plugins
    • Transport

Classes

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

Interfaces

  • NotInitializedException
  • Overview
  • Package
  • Class
  • Todo
  • Download

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( $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, string $sSeparator,… )

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
$bUseAbsolutePath
$sSeparator,…

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