Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • AdminHttpViewControllers
  • ApiV2Controllers
  • Authentication
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Strategies
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Storages
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Extensions
    • Customers
    • Emails
    • Helpers
    • Invoices
    • Orders
    • Serializers
    • Templates
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • HttpViewControllers
  • InfoBox
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
  • Invoice
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • Modules
    • Collections
    • Controllers
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Precheck
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • ClassFinder
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • SharedShoppingCart
    • Interfaces
  • Slider
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AbstractCollection
  • AddressFormatProvider
  • CurrencyCode
  • CustomerStatusProvider
  • EditableCollection
  • EditableKeyValueCollection
  • EmptyCurrencyCode
  • EmptyDateTime
  • EmptyLanguageCode
  • FileDownloadInformation
  • IdCollection
  • KeyValueCollection
  • LanguageCode
  • LanguageProvider
  • StringCollection
  • UrlRewrite
  • UrlRewriteCollection

Class UrlRewrite

UrlRewrite

Package: Shared
Category: System
Located at Shared/UrlRewrite.inc.php

Methods summary

public
# __construct( NonEmptyStringType $contentType, IdType $contentId, IdType $languageId, NonEmptyStringType $rewriteUrl, NonEmptyStringType $targetUrl )

UrlRewrite constructor.

UrlRewrite constructor.

Parameters

$contentType
$contentId
$languageId
$rewriteUrl
$targetUrl
public string
# getContentType( )

Returns

string
public integer
# getContentId( )

Returns

integer
public integer
# getLanguageId( )

Returns

integer
public string
# getRewriteUrl( )

Returns

string
public string
# getTargetUrl( )

Returns

string
protected string
# _sanitizeUrl( NonEmptyStringType $rewriteUrl )

Filters a string allowing the characters a-z, 0-9, - and /. Similar characters are mapped to its latin equivalent.

Filters a string allowing the characters a-z, 0-9, - and /. Similar characters are mapped to its latin equivalent.

Parameters

$rewriteUrl

Returns

string

Properties summary

protected string $contentType

Holds the content type as a string.

Holds the content type as a string.

#
protected integer $contentId

Holds the content ID as integer.

Holds the content ID as integer.

#
protected integer $languageId

Holds the language ID as integer.

Holds the language ID as integer.

#
protected string $rewriteUrl

Holds the rewritten URL as string.

Holds the rewritten URL as string.

#
protected string $targetUrl

Holds the original target URL as string.

Holds the original target URL as string.

#
API documentation generated by ApiGen