SilverCommerce\ContactAdmin\Extensions\MemberExtension
Add additional settings to a memeber object
Synopsis
class MemberExtension
extends DataExtension
{
- // members
- private static array $db = ;
- private static array $belongs_to = ;
- private static array $casting = ;
- // methods
- public void Locations()
- public ContactLocation DefaultLocation()
- public void updateCMSFields()
- public void getContactTitle()
- public void onAfterWrite()
Hierarchy
Extends
- SilverStripe\ORM\DataExtension
Members
private
- $belongs_to
- $casting
- $db
Methods
public
- DefaultLocation() — Return the "default" location for the associated contact.
- Locations() — Get the locations from a contact
- getContactTitle() — The name of the contact assotiated with this account
- onAfterWrite() — If no contact exists for this account, then create one and push changed data to the contact
- updateCMSFields()