[TYPO3-german] extbase, Verknüpfung von Objekten

Timo Poppinga poppinga at iljansoft.de
Mon Oct 20 09:39:14 CEST 2014


Hi Johannes,

du must dein Modell noch Mappen im TypoScript.

Hierzu legt du am besten im Root-Verzeichnis deiner Extension die Datei ext_typoscript_setup.txt an.

In diese kommt dann so etwas:

config.tx_extbase {
    persistence {
        classes {
            Iljanosft\deinxxtensionname\Domain\Model\Accreditation {
                mapping {
                        tableName =  fe_users
columns {
                                tx_deinxxtensionname_accreditation.mapOnProperty = accreditation
}
                }
            }
        }
    }
}


Bitte noch Namespace und Fehlname anpassen.

Viele Grüße

Timo




iljansoft GmbH
Timo Poppinga
Telefon: +49 2823 3239799
Mobile: +49 175 2 40 50 90

mit Sitz in Goch · Amtsgericht Kleve · HRB 12782 · Voßheider Str. 263 · 47574 Goch · USt-IdNr. DE294460296
Geschäftsführer: Timo Poppinga

Am 20.10.2014 um 09:24 schrieb Johannes C. Schulz - EnzephaloN IT-Solutions <info at enzephalon.de<mailto:info at enzephalon.de>>:

Johannes



More information about the TYPO3-german mailing list