Pluf Framework

Pluf Framework Commit Details


Date:2009-04-25 04:17:59 (15 years 7 months ago)
Author:Loic d'Anterroches
Branch:develop, master
Commit:7809b1ae1138252f1cad5c0d9a3b8a9705a6ad6d
Parents: a4c6ae09a0d92f7eae59acb91b2ba5d130c9d894
Message:Fixed to correctly cache the DB connection at the model level.

Changes:

File differences

src/Pluf/Model.php
278278
279279
280280
281
282
283
281284
285
282286
283287
284288
......
286290
287291
288292
289
293
290294
291295
292296
*/
function _getConnection()
{
if ($this->_con !== null) {
return $this->_con;
}
$this->_con = &Pluf::db($this);
return $this->_con;
}
/**
*/
function getDbConnection()
{
return Pluf::db($this);
return $this->_getConnection();
}
/**

Archive Download the corresponding diff file

Branches

Tags

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