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

Paul Jones' Blog: Include-Based vs Class-Based Architecture

Davey Shafik's Blog: Debugging PDO Prepared Statements

Victor Farazdagi's Blog: New Project: Phrozn - static site generator in PHP

SitePoint PHP Blog: Analyzing a PHP Project with Jenkins

QaFoo.com: Code Reuse By Inheritance


Community Events





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


extension podcast laravel symfony api interview series introduction tool opinion community framework composer list conference unittest release configure voicesoftheelephpant threedevsandamaybe

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