* @license BSD */ namespace Domframework; /** This is the version of DomFramework. * It can be used to test if the framework is uptodate for the application * with : * require ("domframework/version.php"); * if (!defined ("DOMFRAMEWORK_VERSION") || * version_compare (DOMFRAMEWORK_VERSION, "0.6") < 0) * die ("Your DomFramework version is too old : 0.6 minimum\n"); */ class Version { const DOMFRAMEWORK_VERSION = "2.0"; static function version () { return self::DOMFRAMEWORK_VERSION; } }