phpDocumentor

UserNavigationHistoryService

Class UserNavigationHistoryService

Table of Contents

$factory  : HistoryFactory
$history  : UserNavigationHistory
$repository  : HistoryRepository
__construct()  : mixed
UserNavigationHistoryService constructor.
addHistoryEntry()  : void
getLastBrowsedCategoryId()  : int|null
history()  : UserNavigationHistory
setHistory()  : void
categoryIdFromGetParameter()  : int
UriIsAnAssetOrAjaxRequest()  : bool

Properties

Methods

addHistoryEntry()

public addHistoryEntry(string $uri, array<string|int, mixed> $getParameters) : void
Parameters
$uri : string
$getParameters : array<string|int, mixed>
Return values
void

getLastBrowsedCategoryId()

public getLastBrowsedCategoryId(int $languageId) : int|null
Parameters
$languageId : int
Return values
int|null

categoryIdFromGetParameter()

protected categoryIdFromGetParameter(string $get) : int
Parameters
$get : string
Return values
int

UriIsAnAssetOrAjaxRequest()

protected UriIsAnAssetOrAjaxRequest(string $uri) : bool
Parameters
$uri : string
Return values
bool

request is a loaded asset or an ajax request

Search results