SilverStripe\Intercom\FormExtension

  • Author: Aaron Carlino <aaron@silverstripe.com>

Synopsis

class FormExtension extends DataExtension {
}

Hierarchy

Extends

  • DataExtension

Members

protected

  • $intercomCompanyFieldMapping — array
    A map of form field names to Intercom company fields.
  • $intercomNoteHeader — string
    The heading for the note.
  • $intercomNoteMapping — array
    A list of form field names that should be thrown into Intercom notes for the user, mapped to the labels that should be used in the note.
  • $intercomUserFieldMapping — array
    A map of form field names to Intercom lead fields.

Methods

protected

  • addMappings() — Adds FormFieldName => IntercomName mappings to a given array. To map to a custom attribute, use $my_custom_attribute.

public