Application

Class Application

package

Gambio

Methods

addCategoriesBasedOnHistoryToBreadcrumb

addCategoriesBasedOnHistoryToBreadcrumb( $languageId) : boolean

Arguments

$languageId

Response

boolean

addCategoriesToBreadcrumb

addCategoriesToBreadcrumb( $languageId,  $breadcrumbGenerated) : boolean

Arguments

$languageId

$breadcrumbGenerated

Response

boolean

addManufacturerToBreadcrumb

addManufacturerToBreadcrumb() 

addProductToBreadcrumb

addProductToBreadcrumb() 

addStartPageToBreadcrumb

addStartPageToBreadcrumb() 

buildBreadcrumb

buildBreadcrumb( $languageId) 

Arguments

$languageId

buildTemporaryTheme

buildTemporaryTheme() 

checkRequestUriForCorrectLanguageCode

checkRequestUriForCorrectLanguageCode() 

checkRequestUriForCorrectProtocolAndDomain

checkRequestUriForCorrectProtocolAndDomain() 

connectToDatabase

connectToDatabase() 

defineConstantsFromDbConfigurationTable

defineConstantsFromDbConfigurationTable() 

defineInitialConstants

defineInitialConstants() 

executeCronjobLikeScripts

executeCronjobLikeScripts() 

getActiveLanguageCodes

getActiveLanguageCodes() : array

Response

array

Returns all GET params of current request uri as a url query string.

getAllGetParams() : string

Response

string

getCategoryNames

getCategoryNames(array $categoryIds) 

Arguments

$categoryIds

array

getCategoryRedirectionUrl

getCategoryRedirectionUrl() : string

Response

string

Returns a category url if current request belongs to a category page, otherwise an empty string is returned.

getCategoryUrl() : string

Response

string

getConnectionType

getConnectionType() : string

Response

string

getContentRedirectionUrl

getContentRedirectionUrl() : string

Response

string

Returns a content page url if current request belongs to a content page, otherwise an empty string is returned.

getContentUrl() : string

Response

string

getDefaultLanguageCode

getDefaultLanguageCode() : string

Response

string

Returns a request specific language code like 'de'.

getLanguageCode( $urlLanguageCode,  $defaultLanguageCode,  $languageGetParameter) : mixed

Arguments

$urlLanguageCode

$defaultLanguageCode

$languageGetParameter

Response

mixed

getLanguageGetParameter

getLanguageGetParameter() : string

Response

string

getLanguageId

getLanguageId() : integer

Response

integer

getLanguageProvider

getLanguageProvider() : \LanguageProvider

getPageUrl

getPageUrl( $urlLanguageCode) : string

Arguments

$urlLanguageCode

Response

string

getParentCategoryIds

getParentCategoryIds( $categoryId, array $parentIds = array()) 

Arguments

$categoryId

$parentIds

array

getProductRedirectionUrl

getProductRedirectionUrl() : string

Response

string

Returns a product url if current request belongs to the product info page, otherwise an empty string is returned.

getProductUrl() : string

Response

string

getRedirectionUrl

getRedirectionUrl( $url,  $getParams) : string

Arguments

$url

$getParams

Response

string

getRedirectionUrlByPage

getRedirectionUrlByPage( $page) : string

Arguments

$page

Response

string

getTimezoneSetter

getTimezoneSetter() 

Returns language parameter like 'de' on success and 'invalid' on failure.

getUrlLanguageCode() : string

Response

string

getUrlWithoutLanguageCode

getUrlWithoutLanguageCode( $urlLanguageCode) : string

Arguments

$urlLanguageCode

Response

string

handle404error

handle404error() 

handleCategoryRequest

handleCategoryRequest( $languageId) 

Arguments

$languageId

handleChangeOfLanguageOrCurrencyOrCountry

handleChangeOfLanguageOrCurrencyOrCountry() 

handleContentRequest

handleContentRequest( $languageId) 

Arguments

$languageId

handleManufacturerRequest

handleManufacturerRequest() 

handlePageSpecificRequests

handlePageSpecificRequests() 

handleProductRequest

handleProductRequest( $languageId) 

Arguments

$languageId

handleRedirection

handleRedirection( $url,  $redirectionUrl) 

Arguments

$url

$redirectionUrl

hasLanguageOrCurrencyOrCountryChanged

hasLanguageOrCurrencyOrCountryChanged() : boolean

Response

boolean

includeClasses

includeClasses() 

includeFunctions

includeFunctions() 

includeStyleEdit

includeStyleEdit() 

includeWrapperFunctions

includeWrapperFunctions() 

initGXEngine

initGXEngine() 

initializeBreadcrumb

initializeBreadcrumb() 

initializeGlobalCategoryVariables

initializeGlobalCategoryVariables() 

initializeGlobalDebuggerObject

initializeGlobalDebuggerObject() 

initializeGlobalMainObject

initializeGlobalMainObject() 

initializeGlobalMessageStackObject

initializeGlobalMessageStackObject() 

initializeGlobalObjects

initializeGlobalObjects() 

initializeGlobalPhpSelfVariable

initializeGlobalPhpSelfVariable() 

initializeGlobalSeoBoostObject

initializeGlobalSeoBoostObject() 

initializeGlobalXtcPriceObject

initializeGlobalXtcPriceObject() 

initLanguage

initLanguage() 

isCategoryRequest

isCategoryRequest() : boolean

Response

boolean

isCategoryUrlInvalid

isCategoryUrlInvalid( $languageId,  $categoryId,  $redirectionUrl) : boolean

Arguments

$languageId

$categoryId

$redirectionUrl

Response

boolean

isContentRequest

isContentRequest() : boolean

Response

boolean

isContentUrlInvalid

isContentUrlInvalid( $redirectionUrl,  $contentUrl) : boolean

Arguments

$redirectionUrl

$contentUrl

Response

boolean

isFrontendGetRequest

isFrontendGetRequest() : boolean

Response

boolean

isLanguageCodeForUrlsActivated

isLanguageCodeForUrlsActivated() : boolean

Response

boolean

isLanguageGetParamNotMatchingSessionLanguage

isLanguageGetParamNotMatchingSessionLanguage( $languageGetParameter) : boolean

Arguments

$languageGetParameter

Response

boolean

isProductInCategory

isProductInCategory( $pId,  $catId) 

Arguments

$pId

$catId

isProductNotFound

isProductNotFound() : boolean

Response

boolean

isProductRequest

isProductRequest() : boolean

Response

boolean

isProductUrlInvalid

isProductUrlInvalid( $languageId,  $redirectionUrl) : boolean

Arguments

$languageId

$redirectionUrl

Response

boolean

isProductUrlNotSeoOptimized

isProductUrlNotSeoOptimized() : boolean

Response

boolean

isRedirectionAllowed

isRedirectionAllowed( $url) : boolean

Arguments

$url

Response

boolean

isRequestUriMissingTrailingSlashAfterLanguageCode

isRequestUriMissingTrailingSlashAfterLanguageCode() : boolean

Response

boolean

isUrlLanguageCodeInvalid

isUrlLanguageCodeInvalid( $urlLanguageCode) : boolean

Arguments

$urlLanguageCode

Response

boolean

loadConfig

loadConfig() 
static

logRedirectionLoop

logRedirectionLoop( $redirectionUrl) 

Arguments

$redirectionUrl

redirect

redirect( $url) 

Arguments

$url

registerAutoloader

registerAutoloader() 

registerErrorHandler

registerErrorHandler() 

resetSessionRedirectionInfo

resetSessionRedirectionInfo() 

run

run() 

runCartActions

runCartActions() 

runExtenders

runExtenders() 

runGProtector

runGProtector() 

runPrimalExtenders

runPrimalExtenders() 

Checks for a flag file in the cache directory and shows a "Gambio Updater need to be executed" page, if it exists.

runUpdateNeededCheck() 

sanitizeRequestData

sanitizeRequestData() 

sendHeader

sendHeader() 

setCurrentTemplate

setCurrentTemplate() 

setGlobalProductVariables

setGlobalProductVariables( $languageId) 

Arguments

$languageId

setMemoryLimit

setMemoryLimit( $limit = 128) 

Arguments

$limit

setMissingGetParams

setMissingGetParams() 

setMissingServerVariables

setMissingServerVariables() 

setSessionAccountType

setSessionAccountType() 

setSessionCountry

setSessionCountry() 

setSessionCurrency

setSessionCurrency() 

setSessionCustomerStatus

setSessionCustomerStatus() 

setSessionLanguage

setSessionLanguage() 

setSessionLanguageData

setSessionLanguageData(string $languageCode) 

Arguments

$languageCode

string

setSessionObjects

setSessionObjects() 

setTimezone

setTimezone() : mixed

Response

mixed

setUpEnvironment

setUpEnvironment() 

setUpFrontend

setUpFrontend() 

setUpMenuBoxesConfiguration

setUpMenuBoxesConfiguration() 

setXSRFPageToken

setXSRFPageToken() 

startGzipOutputBuffer

startGzipOutputBuffer() 

startSession

startSession() 

startStopWatch

startStopWatch() 

startTracking

startTracking() 

updateBreadcrumbSession

updateBreadcrumbSession() 

updateCartRelatedDataInSession

updateCartRelatedDataInSession() 

updateSessionData

updateSessionData() 

updateTimezone

updateTimezone( $timezone) 

Arguments

$timezone

verifySession

verifySession() 

Properties

pageNotFound

pageNotFound : boolean
var

Type(s)

boolean

timezoneSetter

timezoneSetter : \TimezoneSetter
var

Type(s)

\TimezoneSetter

languageProvider

languageProvider : \LanguageProvider
var

Type(s)

\LanguageProvider

defaultLanguageCode

defaultLanguageCode : string
var

Type(s)

string

urlLangParam

urlLangParam : string
var

Type(s)

string

cPath

cPath : string
var

Type(s)

string