[TYPO3-english] files/elements from storage id

Andy Glitch typo3 at mielec.info
Mon May 9 16:20:45 CEST 2016


On 2016-05-02 16:54, ondro wrote:
> What do you mean with "elements list"? Do you mean records?
> Use
> https://docs.typo3.org/typo3cms/ExtbaseFluidBook/6-Persistence/3-implement-individual-database-queries.html
>

thx @ondro
ill try this :-)

short long story
i have extension/plugin, and by selecting "Record Storage Page" i store 
elements, mostly content images type on those folders

currently:
via ->configurationManager->getConfiguration(
ConfigurationManagerInterface::CONFIGURATION_TYPE_FRAMEWORK);
i can get those storages id

with those id via BackendUtility::getRecordsByField()
i get elements from those folders

then via fileRepository->findByRelation() i read all data about and so...

anyway this work, but from performance side this work a little bit slow
and in the future i want to read data in parts via ajax

my question is how to get fast and in proper way content elements from 
storage folders


ps i can read direct via sql from db and this is quick, but i trying to 
do it in the "right way" via t3 :-D

--
Andy



More information about the TYPO3-english mailing list