FaqQuestionManager
class FaqQuestionManager extends TranslatableManager implements JQGridInterface, BasicEntityManagerInterface
Class FaqQuestionManager is injected as alligator.faq_question_manager service. FaqQuestionManager handles the logic for managed entity.
Traits
Properties
| protected FaqQuestionRepository | $repository |
Methods
Sets the repository request default locale
Find all distinct locale from faqs that match provided ids
No description
No description
No description
FaqQuestionManager constructor.
Find all faq categories
Retrieves the nested array or the decorated output.
Persist new faq question and update number of items for all faq category
Update existing faq question and update number of items for all faq category
Retrieves the nested array or the decorated output.
No description
Find single faq for provided id
Find all faqs question for provided category and/or locale
Find all faqs question from specified category for provided title or answer
Find all faqs question grouped by faq category(for default locale)
Find all faqs question for provided title
Find all faqs question for provided title or answer
Remove all faqs that from provided array
Dispatch signal to set faq category tree to cache on terminate
Finds all faq categories
Find all faqs question grouped by faq category
Details
in TranslatableManager at line 30
setRepositoryLocale(ContainerInterface|null $container)
Sets the repository request default locale
in TranslatableManager at line 63
setRepository(mixed $repository)
at line 305
mixed
getLanguagesForIds(array $ids)
Find all distinct locale from faqs that match provided ids
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)
at line 45
__construct(FaqQuestionRepository $repository, FaqQuestionEventContainer $container)
FaqQuestionManager constructor.
at line 56
array
getAllFaqCategories()
Find all faq categories
at line 68
mixed
getAllTreeCategoriesForCategoryAddTree(string|null $locale = null)
Retrieves the nested array or the decorated output.
at line 82
Faq
saveFaqQuestion(Faq $question)
Persist new faq question and update number of items for all faq category
at line 104
Faq
editFaqQuestion(Faq $question)
Update existing faq question and update number of items for all faq category
at line 129
array
getAllCatsForSidebarTree()
Retrieves the nested array or the decorated output.
at line 137
array|mixed
getCategoriesTreeSidebar()
at line 174
Faq
findOneByIdForEdit(int $id)
Find single faq for provided id
at line 187
array
findQuestionCustomByCategory(int $id, string|null $locale = null)
Find all faqs question for provided category and/or locale
at line 200
array
findQuestionsForSearch(int $searchParam, FaqCategory $category)
Find all faqs question from specified category for provided title or answer
at line 210
array
findAllForQuestionsByCategory()
Find all faqs question grouped by faq category(for default locale)
at line 224
array
findAllCustomForFrontendByCategories(string $param)
Find all faqs question for provided title
at line 236
array
findQuestionsForSearchAll(string $param)
Find all faqs question for provided title or answer
at line 250
Faq
deleteFaqQuestions(array $faqQuestionsIdArray)
Remove all faqs that from provided array
at line 273
mixed
dispatchFaqTreeGenerateSignal(string $locale)
Dispatch signal to set faq category tree to cache on terminate
at line 283
array
findAllCustomForFrontend()
Finds all faq categories
at line 293
array
findAllCategoriesForSidebar()
Find all faqs question grouped by faq category