This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Customizable class between Doctrine Records and Symfony

Requests for new symfony features.

Customizable class between Doctrine Records and Symfony

by gearond » Sun Jan 03, 2010 4:45 am

As I FINALLY get used to the hierarchy in the forms classes, I really admire it. Nice work guys.

But I would really like to customize the Doctrine Records so that ALL my models have one function. So easy to do in Forms, so much a PITA and future maintenance problem with Doctrine/Symfony record class hierarchy.

What I would like to have is an extra function that converts an array fetched from HYDRATE_AS_ARRAY to a type correct array. I.E., all the values in the array are type correct for what is in the database.

When I get anything out of Symfony Doctrine 1.3.0-BETA1 , it's all strings BOTH in the object record AND in the arrays returned.

So, Is this in the works, an configurable class between Doctrine and Symfony?
Posts: 53
Joined: Thu Apr 30, 2009 7:52 pm