\DiscussionHolder
Page type responsible for holding "discussions" and their comments
Synopsis
class DiscussionHolder
extends Page
{
- // members
- private static $send_email_from;
- private static string $icon = "discussions/images/speechbubble.png";
- private static array $db = ;
- private static array $has_many = ;
- private static array $many_many = ;
- private static array $allowed_children = ;
- // methods
- public void getCMSFields()
- public void getSettingsFields()
- public void requireDefaultRecords()
- public void onBeforeDelete()
Hierarchy
Extends
- Page
Members
private
- $allowed_children
- $db
- $has_many
- $icon
- $many_many
-
$send_email_from
Default sender address for notification emails, if not set, use Email.admin_email instead
Methods
public
- getCMSFields()
- getSettingsFields()
- onBeforeDelete() — Perform database cleanup when deleting
- requireDefaultRecords()