‪TYPO3CMS  ‪main
TYPO3\CMS\Core\DataHandling\SoftReference\EmailSoftReferenceParser Class Reference
Inheritance diagram for TYPO3\CMS\Core\DataHandling\SoftReference\EmailSoftReferenceParser:
TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserInterface

Public Member Functions

 parse (string $table, string $field, int $uid, string $content, string $structurePath='')
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser
string makeTokenID (string $index='')
 
 setParserKey (string $parserKey, array $parameters)
 
 getParserKey ()
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser
 setTokenIdBasePrefix (string $table, string $uid, string $field, string $structurePath)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser
string $tokenID_basePrefix = ''
 
string $parserKey = ''
 
array $parameters = []
 

Detailed Description

Finding email addresses in content and making them substitutable.

Definition at line 23 of file EmailSoftReferenceParser.php.

Member Function Documentation

◆ parse()

TYPO3\CMS\Core\DataHandling\SoftReference\EmailSoftReferenceParser::parse ( string  $table,
string  $field,
int  $uid,
string  $content,
string  $structurePath = '' 
)

Main function through which can parse content for a specific field.

Parameters
string$tableDatabase table name
string$field‪Field name for which processing occurs
int$uid‪UID of the record
string$content‪The content/value of the field
string$structurePath‪If running from inside a FlexForm structure, this is the path of the tag.
Returns
SoftReferenceParserResult Result object on positive matches, see description above.
See also
SoftReferenceParserResult

Implements TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserInterface.

Definition at line 25 of file EmailSoftReferenceParser.php.

References TYPO3\CMS\Webhooks\Message\$uid, TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserResult\create(), TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser\makeTokenID(), and TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser\setTokenIdBasePrefix().