Pluf Framework

Pluf Framework Commit Details


Date:2008-11-05 08:22:32 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:f92797145045956156ff421ac3ab2707da609c2f
Parents: e7853dd4686e64f4c0c26d5426f08d20687d508d
Message:Added a method to grab the DB connection of a model.

The system allows multiple DB connections to do data partitioning and
have models stored in one DB and other in another DB.
Changes:

File differences

src/Pluf/Model.php
282282
283283
284284
285
286
287
288
289
290
291
292
285293
286294
287295
}
/**
* Get a database connection.
*/
function getDbConnection()
{
return Pluf::db($this);
}
/**
* Get the table of the model.
*
* Avoid doing the concatenation of the prefix and the table

Archive Download the corresponding diff file

Branches

Tags

Number of commits:
Page rendered in 0.05962s using 13 queries.