\StaffProfilePage
Staff profile page
- Author: Mattias Lindgren
Synopsis
class StaffProfilePage
extends Page
{
- // members
- private static string $default_parent = "StaffProfilesHolderPage";
- private static bool $can_be_root = false;
- private static string $icon = "blog/images/staff-profiles-page.png";
- private static array $db = ;
- private static array $has_one = ;
- private static array $many_many = ;
- // methods
- public FieldList getCMSFields()
- public string EmailLink()
Hierarchy
Extends
- Page
Members
private
- $can_be_root
—
bool
Staff profiles cannot be in the root - $db
—
array
DB fields for staff profile - $default_parent
—
string
Specify the default parent for staff profiles - $has_one
—
array
Has one relationships - $icon
—
string
Set custom icon for staff profiles - $many_many
—
array
Has many many relationship
Methods
public
- EmailLink() — Create a unique email link that is connected with the Contact Form
- getCMSFields() — Returns a FieldList with which to create the main editing form.