[TYPO3-mvc] Problems with table mapping
Manfred Rutschmann
manfred.rutschmann at revier.de
Fri Apr 15 11:38:49 CEST 2011
Am Wed, 13 Apr 2011 16:15:00 +0200 schrieb Peter Niederlag:
>
> Isn't the @uuid annotation, as mentioned in the FLOW3 Manual, the proper
> implementation?
>
> http://flow3.typo3.org/documentation/manuals/flow3/flow3.persistenceframework/#flow3.persistenceframework.persistenceannotations
>
> Greets,
> Peter
I`m not very deep in flow3 / extbase framework, but the annotation uuid
isn`t integrated yet. i have checked if i can use this this way:
Model:
/**
* The attachment uid
* @var int
* @uuid attach_id
*/
Protected $attach_id;
and in datamapper:
foreach ($row as $key => $var) {
$propertyMetaData =
$this->reflectionService->getClassSchema($className)->getProperty($key);
var_dump($propertyMetaData);
}
but in the metadata is the uuid annotation not availible:
array(4) {
["type"]=>
string(7) "integer"
["elementType"]=>
NULL
["lazy"]=>
bool(false)
["cascade"]=>
NULL
}
Some ideas to this?
Many thanks, Manfred
More information about the TYPO3-project-typo3v4mvc
mailing list