Example #1
0
 /**
  * Add a Fal media file reference
  *
  * @param FileReference $falMedia
  */
 public function addIcons(FileReference $icons)
 {
     if ($this->getIcons() === NULL) {
         $this->icons = new \TYPO3\CMS\Extbase\Persistence\ObjectStorage();
     }
     $this->icons->attach($icons);
 }
Example #2
0
 /**
  * Removes an additionalImage
  *
  * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $additionalImageToRemove The Image
  *
  * @return void
  */
 public function removeAdditionalImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $additionalImageToRemove)
 {
     $this->additionalImage->detach($additionalImageToRemove);
 }
Example #3
0
 /**
  * Remove image
  *
  * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $image
  * @return void
  */
 public function removeImage(\TYPO3\CMS\Extbase\Domain\Model\FileReference $image)
 {
     $this->image->detach($image);
 }
Example #4
0
 /**
  * Removes a FileReference
  *
  * @param FileReference $image
  * @return void
  */
 public function removeImage(FileReference $image)
 {
     $this->images->detach($image);
 }
Example #5
0
 /**
  * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $medium
  * @return void
  */
 public function removeMedium(\TYPO3\CMS\Extbase\Domain\Model\FileReference $medium)
 {
     $this->media->detach($medium);
 }
Example #6
0
 /**
  * Removes a Delivery PDF
  *
  * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $deliveryPdfToRemove
  *
  * @return void
  */
 public function removeDeliveryPdf(\TYPO3\CMS\Extbase\Domain\Model\FileReference $deliveryPdfToRemove)
 {
     $this->deliveryPdfs->detach($deliveryPdfToRemove);
 }
 /**
  * Removes an registration document
  *
  * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $fileReference
  */
 public function removeRegistrationDocument(FileReference $fileReference)
 {
     $this->registrationDocuments->detach($fileReference);
 }