#381: Doctrine integration
-----------------------------------+----------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: david
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0
Component: database | Version:
Severity: normal | Resolution:
Keywords: |
-----------------------------------+----------------------------------------
Comment (by david):
(In [2084]) AgaviDoctrineDatabase first prototype, refs #381. This will
connect to doctrine for you automatically (lazy connecting!) and hopefully
also manages multiple connections. getDoctrineManager() gives the manager,
getResource() gives the PDO connection, getConnection() will give the
doctrine connection object. The latter two cause doctrine to connect.
connect() does nothing. Enjoy. Table/Connection mapping is coming next.
Add "Doctrine" class to your autoload.xml for maximum pleasure.
--
Ticket URL: <http://trac.agavi.org/ticket/381#comment:11>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5
_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets