Sunnysideup\Faqs\FaqHolderPage
- Author: nicolaas[at]sunnysideup.co.nz
Synopsis
class FaqHolderPage
extends Page
{
- // members
- protected string $holderPage = FaqHolderPage::class;
- protected string $entryPage = FaqOnePage::class;
- private static string $table_name = 'FaqHolderPage';
- private static string $icon = 'sunnysideup/faqs: client/images/FaqHolderPage-file.png';
- private static string $description = 'A list of Frequently Asked Questions';
- private static $default_child = FaqOnePage::class;
- private static array $allowed_children = ;
- private static string $singular_name = 'FAQ Holder Page';
- private static string $plural_name = 'FAQ Holder Pages';
- // methods
- public void i18n_singular_name()
- public void i18n_plural_name()
- public ArrayList ChildGroups()
- public void setHolderPage()
- public string getHolderPage()
- public void setEntryName()
- public string getEntryName()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $default_child
- $description
- $icon
-
$plural_name
Standard SS variable. -
$singular_name
Standard SS variable. - $table_name
protected
- $entryPage
—
string
The item page class in use. - $holderPage
—
string
The holder page class in use.
Methods
public
- ChildGroups() — Returns children FaqHolderPage pages of this FaqHolderPage.
- getEntryName() — gets the classname for pages that are individual items.
- getHolderPage() — gets the classname for pages that are holder pages.
- i18n_plural_name()
- i18n_singular_name()
- setEntryName() — sets the classname for pages that are individual items.
- setHolderPage() — sets the classname for pages that are holder pages.