[symfony-users] RE: Complex criteria creation - hotel room bookings problem

2008-06-13 Thread Gould, Adrian
Further to my original message, I have managed to work some of the problem out... creating a function in the BookingPeer.php file... This current version uses no passed criteria for the current date or date selected by the user in the view... function getBookedUnbooked() { $con =

[symfony-users] RE: Complex criteria creation - hotel room bookings problem

2008-06-13 Thread Gould, Adrian
Another adjunct to the problem... I have got the filter working, but still would like to see: Is there a way to do the above using the addCriteria/addAscendingOrderByColumn and other Propel capabilities? It would be nicer than using the SQL code below just in case the structure of the