\FAQPage
FAQ pagetype, displays Q & A related to the page.
Has a custom search index to add search capabilities to the page.
Can live in any part of the SiteTree
Synopsis
class FAQPage
extends Page
{
- // members
- private static array $db = ;
- private static array $defaults = ;
- private static array $many_many = ;
- private static array $many_many_extraFields = ;
- private static string $singular_name = 'FAQ Page';
- private static string $description = 'FAQ search page';
- // methods
- public void getCMSFields()
- public void FeaturedFAQs()
- public ArrayList FilterFeaturedFAQs()
Hierarchy
Extends
- Page
Members
private
- $db
- $defaults
- $description
- $many_many
- $many_many_extraFields
- $singular_name
Methods
public
- FeaturedFAQs() — Gets Featured FAQs sorted by order. Used by template
- FilterFeaturedFAQs() — Remove Featured FAQs that aren't in the categories selected to filter
- getCMSFields()