‪TYPO3CMS  ‪main
TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser Class Reference
Inheritance diagram for TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser:
TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserInterface TYPO3\CMS\Core\DataHandling\SoftReference\EmailSoftReferenceParser TYPO3\CMS\Core\DataHandling\SoftReference\SubstituteSoftReferenceParser TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkSoftReferenceParser TYPO3\CMS\Core\DataHandling\SoftReference\TypolinkTagSoftReferenceParser TYPO3\CMS\Core\DataHandling\SoftReference\UrlSoftReferenceParser TYPO3\CMS\Form\SoftReference\FormPersistenceIdentifierSoftReferenceParser

Public Member Functions

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

Protected Member Functions

 setTokenIdBasePrefix (string $table, string $uid, string $field, string $structurePath)
 

Protected Attributes

string $tokenID_basePrefix = ''
 
string $parserKey = ''
 
array $parameters = []
 

Detailed Description

A generic parser class useful if tokenID prefixes are needed.

Definition at line 23 of file AbstractSoftReferenceParser.php.

Member Function Documentation

◆ getParserKey()

TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser::getParserKey ( )

◆ makeTokenID()

◆ setParserKey()

TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser::setParserKey ( string  $parserKey,
array  $parameters 
)
Parameters
string$parserKey‪The softref parser key.
array$parameters‪Parameters of the softlink parser. Basically this is the content inside optional []-brackets after the softref keys. Parameters are exploded by ";

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

Definition at line 44 of file AbstractSoftReferenceParser.php.

References TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser\$parameters, and TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser\$parserKey.

◆ setTokenIdBasePrefix()

Member Data Documentation

◆ $parameters

array TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser::$parameters = []
protected

◆ $parserKey

string TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser::$parserKey = ''
protected

◆ $tokenID_basePrefix

string TYPO3\CMS\Core\DataHandling\SoftReference\AbstractSoftReferenceParser::$tokenID_basePrefix = ''
protected

Definition at line 25 of file AbstractSoftReferenceParser.php.