class ProductSearchLogManager implements BasicEntityManagerInterface, JQGridInterface

Class ProductSearchLogManager is injected as alligator.product_search_log.manager service. ProductSearchLogManager handles the logic for managed entity.

Traits

Trait JQGridManagerTrait

Properties

protected ProductSearchLogRepository $repository

Methods

mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

No description

mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

No description

mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)

No description

__construct(ProductSearchLogRepository $repository)

No description

saveProductSearchLog(User|null $user, string $searchParam, boolean $hasResults)

Persist new product search log

array
getGraphData(bool $withResults, array $filters = [])

Find product search log with params and convert for graph representation

Details

in JQGridManagerTrait at line 26
mixed searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

Parameters

array $searchParams
array $sortParams
array $additionalParams
JQGridWrapper $jqGridWrapper

Return Value

mixed

in JQGridManagerTrait at line 40
mixed findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)

Parameters

int $page
int $offset
array $sortParams
array $additionalParams
JQGridWrapper $jqGridWrapper

Return Value

mixed

in JQGridManagerTrait at line 53
mixed getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)

Parameters

array|null $searchParams
array|null $sortParams
array|null $additionalParams
JQGridWrapper|null $jqGridWrapper

Return Value

mixed

at line 35
__construct(ProductSearchLogRepository $repository)

Parameters

ProductSearchLogRepository $repository

at line 48
ProductSearchLog|PrimaryKeyInterface saveProductSearchLog(User|null $user, string $searchParam, boolean $hasResults)

Persist new product search log

Parameters

User|null $user
string $searchParam
boolean $hasResults

Return Value

ProductSearchLog|PrimaryKeyInterface

at line 65
array getGraphData(bool $withResults, array $filters = [])

Find product search log with params and convert for graph representation

Parameters

bool $withResults
array $filters

Return Value

array