Symbiote\MemberProfiles\Model\MemberProfileSection
A section of a public profile page.
Synopsis
class MemberProfileSection
extends DataObject
{
- // members
- private static string $table_name = 'MemberProfileSection';
- private static array $db = ;
- private static array $has_one = ;
- private static array $owned_by = ;
- private static array $extensions = ;
- private static array $summary_fields = ;
- private Member $member;
- // methods
- public Member getMember()
- public void setMember()
- public void getCMSFields()
- public string getTitle()
- public string getDefaultTitle()
- public bool ShowTitle()
- public string forTemplate()
- public void canEdit()
- public void canView()
- public void canCreate()
- public void canDelete()
- private bool|null customExtendedCan()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $extensions
- $has_one
- $member — SilverStripe\Security\Member
- $owned_by
- $summary_fields
- $table_name
Methods
private
public
- ShowTitle() — Controls whether the title is shown in the template.
- canCreate()
- canDelete()
- canEdit()
- canView()
- forTemplate() — Returns the content to be rendered into the profile template.
- getCMSFields()
- getDefaultTitle() — Returns the title for this profile section. You must implement this in subclasses.
- getMember()
- getTitle()
- setMember()