Extbase - File Abstraction Layer (FAL): Unterschied zwischen den Versionen

Aus Wikizone
Wechseln zu: Navigation, Suche
Zeile 4: Zeile 4:
 
== Beispiel Dateiupload ==
 
== Beispiel Dateiupload ==
 
http://www.koller-webprogramming.ch/tipps-tricks/typo3-extension-entwicklung-extbase/dateien-und-bilder-mit-extbase-61-uploaddownload-via-fal-file-abstraction-layer/
 
http://www.koller-webprogramming.ch/tipps-tricks/typo3-extension-entwicklung-extbase/dateien-und-bilder-mit-extbase-61-uploaddownload-via-fal-file-abstraction-layer/
 +
== Beispiel File Referenz dynamisch erzeugen ==
 +
http://www.typo3tiger.de/blog/post/extbase-fal-filereference-im-controller-erzeugen.html

Version vom 30. Juni 2015, 18:51 Uhr

Allgemein Dateien mit Extbase Handeln

In general, you should be able to call getOriginalResource() on a \TYPO3\CMS\Extbase\Domain\Model\FileReference object. For more concrete examples, either refer to the doc links or have a look at the wiki for a example handling FileReferences.

Beispiel Dateiupload

http://www.koller-webprogramming.ch/tipps-tricks/typo3-extension-entwicklung-extbase/dateien-und-bilder-mit-extbase-61-uploaddownload-via-fal-file-abstraction-layer/

Beispiel File Referenz dynamisch erzeugen

http://www.typo3tiger.de/blog/post/extbase-fal-filereference-im-controller-erzeugen.html