CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • 5.0 Saloon »
  • Doctrine and record history
Pages: [1]

Author Topic: Doctrine and record history  (Read 587 times)

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Doctrine and record history
April 07, 2014, 03:39:03 am
CiviCRM 4.x is using triggers to handle record logging. But it looks like Doctrine offers a way that could make the logging easier: http://docs.doctrine-project.org/projects/doctrine1/en/latest/en/manual/behaviors.html#versionable

Not sure if it worths trying such a change but I find and advantage: it may facilitate the extension of the logging functionality to objects created by extensions.

Just an idea. :-)

capo

  • I post occasionally
  • **
  • Posts: 108
  • Karma: 5
Re: Doctrine and record history
April 07, 2014, 12:44:14 pm
Ups! I've just found this topic was already discussed (plus, from a more general point of view) in this same forum [1]. Sorry for the duplicate!

[1] - http://forum.civicrm.org/index.php/topic,31846.0.html

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • 5.0 Saloon »
  • Doctrine and record history

This forum was archived on 2017-11-26.