[dev] Aeros RDO update
Michael Rubinsky
mike at theupstairsroom.com
Fri Oct 6 10:07:14 PDT 2006
Quoting Chuck Hagenbuch <chuck at horde.org>:
> 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.
Thanks Chuck, I'll check this out in my Aeros code. I'm sure this
will help A LOT.
Once I'm happy enough with the code (and stop making huge changes to
my CVS), I'll be happy to put this in the incubator if you think there
would be interest in it...
Thanks,
mike
--
The Horde Project (www.horde.org)
mrubinsk at horde.org
More information about the dev
mailing list