: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Contract defining single submission storage and retrieval
* NOTE: File location would not permanently be in the Models folder; it
* currently resides here during initial development.
interface NF_Exports_Interfaces_SingleSubmissionInterface {
* Return a single submission value by field ID or field key.
* @param int|string $field_ref
public function getFieldValue($field_ref);
* Get all submission field values for a single, pre-defined submission
public function getFieldValues();
* Return the submission Id
* Return the Sequence Number of a predefined submission Id
public function getSeqNum();
* Return the submission date for predefined submission Id
* @param string $format Optional date format
public function getSubmissionDate($format = 'm/d/Y');
* Filter field values to return only provided keys
* NOTE: filter is performed on array KEYS of incoming parameter. This
* enables use of `field labels` array generated at the collection level,
* which is keyed off the same field keys as the submission for perfect
* matching of array columns.
* @param array $fieldKeys Array keyed on field keys with optional value
public function filterFieldValues($fieldKeys)/* :array */;
* Set timestamp of export
* @param int $unixTimestamp
public function setExportDatetime(int $unixTimestamp);
* Return true if submission has been exported
public function wasExported();
* Return bool `true` if submission is unread
public function isUnread();