[+FEATURE] Extbase (Persistence): Implemented a second Lazy Loading strategy called...
authorJochen Rau <j.rau@web.de>
Mon, 14 Sep 2009 09:37:35 +0000 (09:37 +0000)
committerJochen Rau <j.rau@web.de>
Mon, 14 Sep 2009 09:37:35 +0000 (09:37 +0000)
commit9a35bfef89b967299bd261fbf1a23fdcfca37d07
tree6bab60569ba5ac6caeb3ff4a8eecdad7f53c4bb8
parentf77c563e76a82d27daadd13bf1ca0f508b6ba87e
[+FEATURE] Extbase (Persistence): Implemented a second Lazy Loading strategy called "storage". In contrast to the LazyLoadingProxy it is a StorageObject which loads its internal storage array lazy. This enables the framework to intercept count($propertyValue). Furthermore, you don't have to load the real instance inside your domain model class. Related to #3596.
[+BUGFIX] Extbase (Persistence): It is now possible to pass an object as operand of a comparison.
12 files changed:
typo3/sysext/extbase/Classes/Persistence/Backend.php
typo3/sysext/extbase/Classes/Persistence/LazyLoadingProxy.php
typo3/sysext/extbase/Classes/Persistence/LazyObjectStorage.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/LoadingStrategyInterface.php [new file with mode: 0644]
typo3/sysext/extbase/Classes/Persistence/Mapper/ColumnMap.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMap.php
typo3/sysext/extbase/Classes/Persistence/Mapper/DataMapper.php
typo3/sysext/extbase/Classes/Persistence/ObjectStorage.php
typo3/sysext/extbase/Classes/Persistence/Query.php
typo3/sysext/extbase/Classes/Property/Mapper.php
typo3/sysext/extbase/Classes/Reflection/ClassSchema.php
typo3/sysext/extbase/Classes/Utility/Extension.php