The version file allow you to know the installed version of Domframework. It allow to generate an error if the installed version is too old :
$version = DPT_Version::version();
if ($version === null &&
version_compare ($version, "2.0") < 0)
die ("Your DomFramework version is too old : 2.0 minimum\n");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");
No property available