ApplicationMain

Extends \Gambio\GX\Application

Class ApplicationMain

package

Gambio

Methods

addCategoriesBasedOnHistoryToBreadcrumb

addCategoriesBasedOnHistoryToBreadcrumb( $languageId) : boolean
inherited

Arguments

$languageId

Response

boolean

addCategoriesToBreadcrumb

addCategoriesToBreadcrumb( $languageId,  $breadcrumbGenerated) : boolean
inherited

Arguments

$languageId

$breadcrumbGenerated

Response

boolean

addManufacturerToBreadcrumb

addManufacturerToBreadcrumb() 
inherited

addProductToBreadcrumb

addProductToBreadcrumb() 
inherited

addStartPageToBreadcrumb

addStartPageToBreadcrumb() 
inherited

buildBreadcrumb

buildBreadcrumb( $languageId) 
inherited

Arguments

$languageId

buildTemporaryTheme

buildTemporaryTheme() 
inherited

checkRequestUriForCorrectLanguageCode

checkRequestUriForCorrectLanguageCode() 
inherited

checkRequestUriForCorrectProtocolAndDomain

checkRequestUriForCorrectProtocolAndDomain() 
inherited

connectToDatabase

connectToDatabase() 
inherited

defineConstantsFromDbConfigurationTable

defineConstantsFromDbConfigurationTable() 
inherited

defineInitialConstants

defineInitialConstants() 
inherited

executeCronjobLikeScripts

executeCronjobLikeScripts() 
inherited

getActiveLanguageCodes

getActiveLanguageCodes() : array
inherited

Response

array

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

getAllGetParams() : string
inherited

Response

string

getCategoryNames

getCategoryNames(array $categoryIds) 
inherited

Arguments

$categoryIds

array

getCategoryRedirectionUrl

getCategoryRedirectionUrl() : string
inherited

Response

string

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

getCategoryUrl() : string
inherited

Response

string

getConnectionType

getConnectionType() : string
inherited

Response

string

getContentRedirectionUrl

getContentRedirectionUrl() : string
inherited

Response

string

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

getContentUrl() : string
inherited

Response

string

getDefaultLanguageCode

getDefaultLanguageCode() : string
inherited

Response

string

Returns a request specific language code like 'de'.

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

Arguments

$urlLanguageCode

$defaultLanguageCode

$languageGetParameter

Response

mixed

getLanguageGetParameter

getLanguageGetParameter() : string
inherited

Response

string

getLanguageId

getLanguageId() : integer
inherited

Response

integer

getLanguageProvider

getLanguageProvider() : \LanguageProvider
inherited

getPageUrl

getPageUrl( $urlLanguageCode) : string
inherited

Arguments

$urlLanguageCode

Response

string

getParentCategoryIds

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

Arguments

$categoryId

$parentIds

array

getProductRedirectionUrl

getProductRedirectionUrl() : string
inherited

Response

string

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

getProductUrl() : string
inherited

Response

string

getRedirectionUrl

getRedirectionUrl( $url,  $getParams) : string
inherited

Arguments

$url

$getParams

Response

string

getRedirectionUrlByPage

getRedirectionUrlByPage( $page) : string
inherited

Arguments

$page

Response

string

getTimezoneSetter

getTimezoneSetter() 
inherited

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

getUrlLanguageCode() : string
inherited

Response

string

getUrlWithoutLanguageCode

getUrlWithoutLanguageCode( $urlLanguageCode) : string
inherited

Arguments

$urlLanguageCode

Response

string

handle404error

handle404error() 
inherited

handleCategoryRequest

handleCategoryRequest( $languageId) 
inherited

Arguments

$languageId

handleChangeOfLanguageOrCurrencyOrCountry

handleChangeOfLanguageOrCurrencyOrCountry() 
inherited

handleContentRequest

handleContentRequest( $languageId) 
inherited

Arguments

$languageId

handleManufacturerRequest

handleManufacturerRequest() 
inherited

handlePageSpecificRequests

handlePageSpecificRequests() 
inherited

handleProductRequest

handleProductRequest( $languageId) 
inherited

Arguments

$languageId

handleRedirection

handleRedirection( $url,  $redirectionUrl) 
inherited

Arguments

$url

$redirectionUrl

hasLanguageOrCurrencyOrCountryChanged

hasLanguageOrCurrencyOrCountryChanged() : boolean
inherited

Response

boolean

includeClasses

includeClasses() 
inherited

includeFunctions

includeFunctions() 
inherited

includeStyleEdit

includeStyleEdit() 
inherited

includeWrapperFunctions

includeWrapperFunctions() 
inherited

initGXEngine

initGXEngine() 
inherited

initializeBreadcrumb

initializeBreadcrumb() 
inherited

initializeGlobalCategoryVariables

initializeGlobalCategoryVariables() 
inherited

initializeGlobalDebuggerObject

initializeGlobalDebuggerObject() 
inherited

initializeGlobalMainObject

initializeGlobalMainObject() 
inherited

initializeGlobalMessageStackObject

initializeGlobalMessageStackObject() 
inherited

initializeGlobalObjects

initializeGlobalObjects() 
inherited

initializeGlobalPhpSelfVariable

initializeGlobalPhpSelfVariable() 
inherited

initializeGlobalSeoBoostObject

initializeGlobalSeoBoostObject() 
inherited

initializeGlobalXtcPriceObject

initializeGlobalXtcPriceObject() 
inherited

initLanguage

initLanguage() 
inherited

isCategoryRequest

isCategoryRequest() : boolean
inherited

Response

boolean

isCategoryUrlInvalid

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

Arguments

$languageId

$categoryId

$redirectionUrl

Response

boolean

isContentRequest

isContentRequest() : boolean
inherited

Response

boolean

isContentUrlInvalid

isContentUrlInvalid( $redirectionUrl,  $contentUrl) : boolean
inherited

Arguments

$redirectionUrl

$contentUrl

Response

boolean

isFrontendGetRequest

isFrontendGetRequest() : boolean
inherited

Response

boolean

isLanguageCodeForUrlsActivated

isLanguageCodeForUrlsActivated() : boolean
inherited

Response

boolean

isLanguageGetParamNotMatchingSessionLanguage

isLanguageGetParamNotMatchingSessionLanguage( $languageGetParameter) : boolean
inherited

Arguments

$languageGetParameter

Response

boolean

isProductInCategory

isProductInCategory( $pId,  $catId) 
inherited

Arguments

$pId

$catId

isProductNotFound

isProductNotFound() : boolean
inherited

Response

boolean

isProductRequest

isProductRequest() : boolean
inherited

Response

boolean

isProductUrlInvalid

isProductUrlInvalid( $languageId,  $redirectionUrl) : boolean
inherited

Arguments

$languageId

$redirectionUrl

Response

boolean

isProductUrlNotSeoOptimized

isProductUrlNotSeoOptimized() : boolean
inherited

Response

boolean

isRedirectionAllowed

isRedirectionAllowed( $url) : boolean
inherited

Arguments

$url

Response

boolean

isRequestUriMissingTrailingSlashAfterLanguageCode

isRequestUriMissingTrailingSlashAfterLanguageCode() : boolean
inherited

Response

boolean

isUrlLanguageCodeInvalid

isUrlLanguageCodeInvalid( $urlLanguageCode) : boolean
inherited

Arguments

$urlLanguageCode

Response

boolean

loadConfig

loadConfig() 
inherited static

logRedirectionLoop

logRedirectionLoop( $redirectionUrl) 
inherited

Arguments

$redirectionUrl

redirect

redirect( $url) 
inherited

Arguments

$url

registerAutoloader

registerAutoloader() 
inherited

registerErrorHandler

registerErrorHandler() 
inherited

resetSessionRedirectionInfo

resetSessionRedirectionInfo() 
inherited

run

run() 
inherited

runCartActions

runCartActions() 
inherited

runExtenders

runExtenders() 
inherited

runGProtector

runGProtector() 
inherited

runPrimalExtenders

runPrimalExtenders() 
inherited

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

runUpdateNeededCheck() 
inherited

sanitizeRequestData

sanitizeRequestData() 
inherited

sendHeader

sendHeader() 
inherited

setCurrentTemplate

setCurrentTemplate() 
inherited

setGlobalProductVariables

setGlobalProductVariables( $languageId) 
inherited

Arguments

$languageId

setMemoryLimit

setMemoryLimit( $limit = 128) 
inherited

Arguments

$limit

setMissingGetParams

setMissingGetParams() 
inherited

setMissingServerVariables

setMissingServerVariables() 
inherited

setSessionAccountType

setSessionAccountType() 
inherited

setSessionCountry

setSessionCountry() 
inherited

setSessionCurrency

setSessionCurrency() 
inherited

setSessionCustomerStatus

setSessionCustomerStatus() 
inherited

setSessionLanguage

setSessionLanguage() 
inherited

setSessionLanguageData

setSessionLanguageData(string $languageCode) 
inherited

Arguments

$languageCode

string

setSessionObjects

setSessionObjects() 
inherited

setTimezone

setTimezone() : mixed
inherited

Response

mixed

setUpEnvironment

setUpEnvironment() 
inherited

setUpFrontend

setUpFrontend() 
inherited

setUpMenuBoxesConfiguration

setUpMenuBoxesConfiguration() 
inherited

setXSRFPageToken

setXSRFPageToken() 
inherited

startGzipOutputBuffer

startGzipOutputBuffer() 
inherited

startSession

startSession() 
inherited

startStopWatch

startStopWatch() 
inherited

startTracking

startTracking() 
inherited

updateBreadcrumbSession

updateBreadcrumbSession() 
inherited

updateCartRelatedDataInSession

updateCartRelatedDataInSession() 
inherited

updateSessionData

updateSessionData() 
inherited

updateTimezone

updateTimezone( $timezone) 
inherited

Arguments

$timezone

verifySession

verifySession() 
inherited

Properties

pageNotFound

pageNotFound : boolean
inherited
var

Type(s)

boolean

timezoneSetter

timezoneSetter : \TimezoneSetter
inherited
var

Type(s)

\TimezoneSetter

languageProvider

languageProvider : \LanguageProvider
inherited
var

Type(s)

\LanguageProvider

defaultLanguageCode

defaultLanguageCode : string
inherited
var

Type(s)

string

urlLangParam

urlLangParam : string
inherited
var

Type(s)

string

cPath

cPath : string
inherited
var

Type(s)

string