[TYPO3-mvc] Create FileReference Object for Model

Dennis Dittrich dittrich at netspione.de
Tue May 27 15:18:23 CEST 2014


Hello guys,

i still develop a csv import for one of my extension. To write in database with repositories works fine, but i have one problem.

I looking for import some images (FAL) and i don't find the right way to get this thing done.

The database model needs a FileReference object, so I look into the documentation, but find not a method to say the object where to find the right image.

typo3.org/api/typo3cms/class_t_y_p_o3_1_1_c_m_s_1_1_extbase_1_1_domain_1_1_model_1_1_file_reference.html

In the related classes i don't find any possibilties, too. 

In this moment i use repositories in controller. The setter need a FileReference Object. I have some Images in fileadmin that i would like to link in FAL via csv import.




More information about the TYPO3-project-typo3v4mvc mailing list