|
@@ 47-55 (lines=9) @@
|
| 44 |
|
|
| 45 |
|
// Render File usage |
| 46 |
|
$fileReferences = $this->getFileReferenceService()->findFileReferences($file); |
| 47 |
|
if (!empty($fileReferences)) { |
| 48 |
|
|
| 49 |
|
// Finalize file references assembling. |
| 50 |
|
$result .= sprintf( |
| 51 |
|
$this->getWrappingTemplate(), |
| 52 |
|
$this->getLanguageService()->sL('LLL:EXT:media/Resources/Private/Language/locallang.xlf:file_reference'), |
| 53 |
|
$this->assembleOutput($fileReferences, array('referenceIdentifier' => 'uid_foreign', 'tableName' => 'tablenames')) |
| 54 |
|
); |
| 55 |
|
} |
| 56 |
|
|
| 57 |
|
// Render link usage in RTE |
| 58 |
|
$linkSoftReferences = $this->getFileReferenceService()->findSoftLinkReferences($file); |
|
@@ 59-67 (lines=9) @@
|
| 56 |
|
|
| 57 |
|
// Render link usage in RTE |
| 58 |
|
$linkSoftReferences = $this->getFileReferenceService()->findSoftLinkReferences($file); |
| 59 |
|
if (!empty($linkSoftReferences)) { |
| 60 |
|
|
| 61 |
|
// Finalize link references assembling. |
| 62 |
|
$result .= sprintf( |
| 63 |
|
$this->getWrappingTemplate(), |
| 64 |
|
$this->getLanguageService()->sL('LLL:EXT:media/Resources/Private/Language/locallang.xlf:link_references_in_rte'), |
| 65 |
|
$this->assembleOutput($linkSoftReferences, array('referenceIdentifier' => 'recuid', 'tableName' => 'tablename')) |
| 66 |
|
); |
| 67 |
|
} |
| 68 |
|
|
| 69 |
|
// Render image usage in RTE |
| 70 |
|
$imageSoftReferences = $this->getFileReferenceService()->findSoftImageReferences($file); |
|
@@ 71-79 (lines=9) @@
|
| 68 |
|
|
| 69 |
|
// Render image usage in RTE |
| 70 |
|
$imageSoftReferences = $this->getFileReferenceService()->findSoftImageReferences($file); |
| 71 |
|
if (!empty($imageSoftReferences)) { |
| 72 |
|
|
| 73 |
|
// Finalize image references assembling. |
| 74 |
|
$result .= sprintf( |
| 75 |
|
$this->getWrappingTemplate(), |
| 76 |
|
$this->getLanguageService()->sL('LLL:EXT:media/Resources/Private/Language/locallang.xlf:image_references_in_rte'), |
| 77 |
|
$this->assembleOutput($imageSoftReferences, array('referenceIdentifier' => 'recuid', 'tableName' => 'tablename')) |
| 78 |
|
); |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
return $result; |
| 82 |
|
} |