[TYPO3-german] Extbase, Object to array?

Mario T typoser at trashmail.de
Tue Jun 27 17:21:39 CEST 2017


Stimmt. Diese habe ich jetzt auch gefunden. Aber...

Allerdings funktioniert das nur bei findAll() bzw. bei einer Liste von Objekten. Suche ich einen Datensatz mit findByUid()->toArray() kommt: Call to undefined method VENDOR\EXT\Domain\Model\Bla::toArray()

Hinzu kommt leider auch das die Unterobjekte weiterhin Objekte bleiben. Ich bräuchte jedoch das vollständige Objekt inkl. Kind-Objekte als Array.
-- 
LG,
  Mario


More information about the TYPO3-german mailing list