‪TYPO3CMS  ‪main
TYPO3\CMS\Frontend\Typolink\UnableToLinkException Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Typolink\UnableToLinkException:
TYPO3\CMS\Frontend\Exception TYPO3\CMS\Core\Exception

Public Member Functions

 __construct (string $message='', int $code=0, ?\Throwable $previous=null, protected string $linkText='')
 
 getLinkText ()
 

Detailed Description

Exception which is thrown when a link could not be set

Definition at line 25 of file UnableToLinkException.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Frontend\Typolink\UnableToLinkException::__construct ( string  $message = '',
int  $code = 0,
?\Throwable  $previous = null,
protected string  $linkText = '' 
)

Definition at line 27 of file UnableToLinkException.php.

Member Function Documentation

◆ getLinkText()

TYPO3\CMS\Frontend\Typolink\UnableToLinkException::getLinkText ( )

Returns the link text when the link could not been set

Definition at line 35 of file UnableToLinkException.php.

Referenced by TYPO3\CMS\Frontend\Typolink\LinkFactory\buildLinkResult(), and TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer\typoLink().