FaqCategoryManager
class FaqCategoryManager extends CategoryTranslatableManager implements JQGridInterface, BasicEntityManagerInterface
Class FaqCategoryManager is injected as alligator.faq_category_manager service. FaqCategoryManager handles the logic for managed entity.
Traits
Properties
| protected FaqCategoryRepository | $repository | ||
| protected Router | $router | ||
| protected array | $leafsArray | hellper array |
Methods
Sets the repository request default locale
No description
No description
No description
Get entities from database by ids
No description
Return repository for faq category
Find all faq categories
Retrieves the nested array or the decorated output.
Find all faq categories
Find all faq category id and name
Find single faq category for provided id
Finds a single faq category for provided id
Update existing faq category and clear cache
No description
Finds all faq categories
Retrieves the nested array or the decorated output.
Retrieves the nested array or the decorated output.
Retrieves the nested array or the decorated output.
No description
Retrieve cached faq category tree
Set faq category tree to cache
Dispatch signal to set faq category tree to cache on terminate
delete all cached results
No description
Details
in CategoryTranslatableManager at line 29
setRepositoryLocale(ContainerInterface|null $container)
Sets the repository request default locale
in CategoryTranslatableManager at line 55
setRepository(mixed $repository)
in JQGridManagerTrait at line 26
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 40
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 53
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
in BlockElementManagerTrait at line 28
array
getEntitiesForBlockElementsExtension(array $ids)
Get entities from database by ids
in BlockElementManagerTrait at line 40
array
getEntityNamesForIds(array $ids)
Get id and name of entity
at line 58
__construct(FaqCategoryRepository $repository, FaqCategoryEventContainer $faqCategoryEventContainer, Router $router)
at line 70
FaqCategoryRepository
getRepository()
Return repository for faq category
at line 80
array
getAllFaqCategories()
Find all faq categories
at line 90
array
getAllFaqCategoriesForBackend()
Retrieves the nested array or the decorated output.
at line 102
array
getAllCatsNew()
Find all faq categories
at line 114
stdClass
save(FaqCategory $entity)
Persist new faq category
at line 124
array
findCategoriesForCatAdd()
Find all faq category id and name
at line 134
mixed
saveFaqCategory(FaqCategory $category)
at line 164
array
findOneByIdForEdit(int $id)
Find single faq category for provided id
at line 176
mixed
findOneById(int $id)
Finds a single faq category for provided id
at line 190
stdClass
edit(FaqCategory $faqCategory, bool $positionChanged, mixed $previous)
Update existing faq category and clear cache
at line 229
FaqCategory
editFaqCategory(FaqCategory $faqCategory)
Update existing faq category and clear cache
at line 264
int
deleteFaqCategories(array $faqCategoriesIdArray)
at line 277
array
findAllQuestionsByCategories()
Finds all faq categories
at line 290
array
getAllCatsForSidebarTree(string|null $locale = null, bool $frontend = false)
Retrieves the nested array or the decorated output.
at line 331
array|string
getCatsAsTreeForBackend()
Retrieves the nested array or the decorated output.
at line 345
array|string
getAllTreeCategoriesForCategoryAddTree(string|null $locale = null)
Retrieves the nested array or the decorated output.
at line 372
array
getOnlyRoots()
at line 384
mixed
getCashCategoryTree(string $locale)
Retrieve cached faq category tree
at line 397
mixed
setCashCategoryTree(string $data, string $locale)
Set faq category tree to cache
at line 407
dispatchFaqTreeGenerateSignal(string $locale)
Dispatch signal to set faq category tree to cache on terminate
at line 415
deleteResultCaches()
delete all cached results