\MemberProfileSection
A section of a public profile page.
Synopsis
class MemberProfileSection
extends DataObject
{
- // members
- private static array $db = ;
- private static array $has_one = ;
- private static array $extensions = ;
- private static array $summary_fields = ;
- protected $member;
- // methods
- public Member getMember()
- public void setMember()
- public void getCMSFields()
- public string getTitle()
- public string getDefaultTitle()
- public bool ShowTitle()
- public string forTemplate()
Hierarchy
Extends
- DataObject
Members
private
- $db
- $extensions
- $has_one
- $summary_fields
protected
- $member
Methods
public
- ShowTitle() — Controls whether the title is shown in the template.
- 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()