abstract class AbstractFormatter implements FormatterInterface (View source)

Properties

protected $association
protected $entryFormatter

Methods

__construct(Association $association)

No description

getEntryDisplayName(AssociationControl $control, Entry $entry)

Get the display label for an entry

setEntryFormatter(EntryFormatterInterface $formatter)

Supploy the entry formatter we should use

getEntryFormatter()

Get the entry formatter to use

getDisplayName()

No description

Details

__construct(Association $association)

No description

Parameters

Association $association

getEntryDisplayName(AssociationControl $control, Entry $entry)

Get the display label for an entry

Parameters

AssociationControl $control
Entry $entry

setEntryFormatter(EntryFormatterInterface $formatter)

Supploy the entry formatter we should use

Parameters

EntryFormatterInterface $formatter

protected EntryFormatterInterface getEntryFormatter()

Get the entry formatter to use

getDisplayName()

No description