public static function getLatest()
{
if (null === self::$_lastestVersion) {
self::$_lastestVersion = 'not available';
$handle = fopen('http://www.opensolutions.ie/open-source/vimbadmin/latest-v3', 'r');
if ($handle !== false) {
self::$_lastestVersion = preg_replace("/[^0-9\\.]/", "", trim(stream_get_contents($handle, 12)));
fclose($handle);
}
}
return self::$_lastestVersion;
}