Dynamic\Staff\Pages\StaffMember
Class StaffMember
Synopsis
class StaffMember
extends Page
{
- // members
- private static string $singular_name = 'Staff Member';
- private static string $plural_name = 'Staff Members';
- private static string $description = 'Detailed information about a specific staff member';
- private static array $db = ;
- private static array $has_one = ;
- private static array $owns = ;
- private static array $summary_fields = ;
- private static array $defaults = ;
- private static bool $can_be_root = false;
- private static array $allowed_children = ;
- private static bool $show_in_sitetree = false;
- private static string $table_name = 'StaffMember';
- // methods
- public FieldList getCMSFields()
Hierarchy
Extends
- Page
Members
private
- $allowed_children — array
- $can_be_root — Dynamic\Staff\Pages\bool
- $db — array
- $defaults — array
- $description — string
- $has_one — array
- $owns — array
- $plural_name — string
- $show_in_sitetree
—
Dynamic\Staff\Pages\bool
This will display or hide the current class from the SiteTree. This variable can be configured using YAML. - $singular_name — string
- $summary_fields — array
- $table_name — string