[dev] Aeros RDO update

Chuck Hagenbuch chuck at horde.org
Thu Oct 5 13:54:12 PDT 2006


With the commit I just made to CVS, you can take Michael's aeros code  
(see the wiki if you're not Michael R.) and replace the two query  
attempts inside getTotalTest() with this:

         $query = Horde_RDO_Query::create(array('owner_id' =>  
'mrubinsk'), $this->_flightMapper);
         $query->setFields(array('aircraft_id'));
         $query->addRelationship($this->_aircraftMapper,  
'aeros_aircraft', 'aircraft_id', array('aircraft_type' => 'C172'));
         $results = $this->_flightMapper->find(Horde_RDO::FIND_ALL, $query);

.. and it should work. Still things to do and to clean up, but that's  
some progress.

-chuck

-- 
"we are plastered to the windshield of the bus that is time." - Chris


More information about the dev mailing list