News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Markus Wolff's Blog:
ActiveRecord enhancements
September 11, 2006 @ 08:16:27

Markus Wolff finally got the time to work on a project he's developed but hasn't had the time to enhance - CWAC_ActiveRecord.

After two weeks I finally managed to find a bit of time to continue working on CWAC_ActiveRecord. Requested by my friend Arnaud was the setConnection() method, that allows to reuse existing PDO objects with CWAC_ActiveRecord. Before this, you could only pass a DSN with the config array and a new connection would always be created.

He also added limit() and orderby() methods to help narrow down your queries.

0 comments voice your opinion now!
activerecord ehancements cwac project setconnection limit orderby pdo activerecord ehancements cwac project setconnection limit orderby pdo


blog comments powered by Disqus

Similar Posts

Brian DeShong's Blog: Development process for PHP-based projects

Joshua Eichorn's Blog: How would you improve PEAR?

DevShed: Utilizing the LIMIT Clause with the Active Record Pattern

Ben Ramsey's Blog: Project Hosting on Google Code

Phil Sturgeon: Arguing on the Internet


Community Events





Don't see your event here?
Let us know!


composer framework tool security library introduction release series symfony list artisanfiles voicesoftheelephpant interview opinion language version conference podcast community laravel

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework