class SurveyQuestionAggregationManager extends TranslatableManager

Class SurveyQuestionAggregationManager is injected as alligator.survey_aggregation_manager service. SurveyQuestionAggregationManager handles the logic for managed entity.

Properties

protected SurveyQuestionAggregationRepository $repository

Methods

setRepositoryLocale(ContainerInterface|null $container)

Sets the repository request default locale

setRepository(mixed $repository)

No description

mixed
getLanguagesForIds(array $ids)

No description

__construct(SurveyQuestionAggregationRepository $repository)

No description

array
findAggregationsBySurveyId(int $id)

Find aggregations by survey id

editSurveyQuestionPosition(mixed $aggregations)

Edit survey question position

array
findAggregationsBySurveyIdForFrontEnd(int $id, null $locale = null, bool $useCache = false)

Find aggregations by survey id for frontend

bool|Proxy|null|object
findSurveyCategoryById(int|string $id)

Find Survey category by id

Details

in TranslatableManager at line 30
setRepositoryLocale(ContainerInterface|null $container)

Sets the repository request default locale

Parameters

ContainerInterface|null $container

Exceptions

InvalidArgumentException if repository is not an instance of TranslatableRepository

in TranslatableManager at line 63
setRepository(mixed $repository)

Parameters

mixed $repository

in TranslatableManager at line 73
mixed getLanguagesForIds(array $ids)

Parameters

array $ids

Return Value

mixed

at line 30
__construct(SurveyQuestionAggregationRepository $repository)

Parameters

SurveyQuestionAggregationRepository $repository

at line 42
array findAggregationsBySurveyId(int $id)

Find aggregations by survey id

Parameters

int $id

Return Value

array

at line 54
Survey editSurveyQuestionPosition(mixed $aggregations)

Edit survey question position

Parameters

mixed $aggregations

Return Value

Survey

at line 68
array findAggregationsBySurveyIdForFrontEnd(int $id, null $locale = null, bool $useCache = false)

Find aggregations by survey id for frontend

Parameters

int $id
null $locale
bool $useCache

Return Value

array

at line 80
bool|Proxy|null|object findSurveyCategoryById(int|string $id)

Find Survey category by id

Parameters

int|string $id

Return Value

bool|Proxy|null|object