[TYPO3-mvc] Cannotcastobjectoftype"Tx_Extbase_Persistence_QueryResult" to string.

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Tue Jun 14 14:45:31 CEST 2011


Hi Franz

No, none of such models. Til' now - cause I've not implemented the get/set
for tt_address-Fields. At this time there's only protected adressess
variable.

Best regards
Johannes
 
-----Ursprüngliche Nachricht-----
Von: typo3-project-typo3v4mvc-bounces at lists.typo3.org
[mailto:typo3-project-typo3v4mvc-bounces at lists.typo3.org] Im Auftrag von
Franz Koch
Gesendet: Dienstag, 14. Juni 2011 14:10
An: typo3-project-typo3v4mvc at lists.typo3.org
Betreff: Re: [TYPO3-mvc]
Cannotcastobjectoftype"Tx_Extbase_Persistence_QueryResult" to string.

Hey,

> I'm not sure about your second question. Maybe I've to add some functions
to
> the model of properties I inserted later? This might be a good hint.

question is, if you have models with modified/extended properties that 
internally trigger some service or return a query result of a 
repository. So not just properties returning the according DB value but 
custom/additional properties/getters returning special data gathered 
from a service etc.

-- 
kind regards,
Franz Koch
_______________________________________________
TYPO3-project-typo3v4mvc mailing list
TYPO3-project-typo3v4mvc at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc




More information about the TYPO3-project-typo3v4mvc mailing list