Geht z.b. so im Typoscript Setup:
config.tx_extbase.persistence.classes {
Tx_Ext_Domain_Model_Model {
mapping {
tableName = tablename
columns {
table.fieldname.mapOnProperty = modelValue
}
}
}
}
-Ursprüngliche Nachricht-
Von: typo3-german-boun...@lists.typo3.org
[mailto:typo3-german-boun...@lists.typo3.org] Im Auftrag von Hendrik Reimers
(KERN23.de)
Gesendet: Montag, 24. März 2014 20:57
An: typo3-german@lists.typo3.org
Betreff: [TYPO3-german] extbase: Typo3 fremde Tabellen mappen?
Hallo,
habe bisher noch nicht viel mit Typo3 Extbase mapping gemacht. Daher mal ne
allgemeine frage bzw. Lösungsbitte...
In der DB mit der Typo3 Installation sind noch Tabellen völlig unabhängig von
Typo3 mit entsprechend fremden Feldern und kein TCA Array und nix (anderes
System).
Kann ich mittels eine extbase Extension nun ein Model machen mit Gettern und
Settern und einem Repository um darin zu lesen und zu schreiben oder wie macht
man das sonst in extbase?
Für Tipps, Beispiele, etc. wäre ich dankbar!
Grüße
hendrik
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
The information contained in this e-mail message is privileged and confidential
and is for the exclusive use of the addressee. The person who receives this
message and who is not the addressee, one of his employees or an agent entitled
to hand it over to the addressee, is informed that he may not use, disclose or
reproduce the contents thereof, and is kindly asked to notify the sender and
delete the e-mail immediately.
The information contained in this e-mail message is privileged and confidential
and is for the exclusive use of the addressee. The person who receives this
message and who is not the addressee, one of his employees or an agent entitled
to hand it over to the addressee, is informed that he may not use, disclose or
reproduce the contents thereof, and is kindly asked to notify the sender and
delete the e-mail immediately.
___
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german