propelorm/Propel — pull request #319 by K-Phoen (2012-03-20 09:56:58+00:00)
Title: Add: some usefull methods to Versionable objects

This PR adds two methods to versionable objects:

* `getLastVersions($max, $criteria, $con)`: retrieves the $max last
versions
* `compareVersion($number)`: compares the current object to a given
version.

I also added the `$ignoredColumns` parameter to the compareVersion(s)
methods.