protected function getFriendlyName($fullBuild, $major, $minor)
{
$friendly = null;
// Check for a full build number match for the most info first...
if (isset($this->builds[$fullBuild])) {
$friendly = $this->builds[$fullBuild];
// Next see if the general version as a combination of 2 numbers...
} elseif (isset($this->versionsMajor[$major . '.' . $minor])) {
$friendly = $this->versionsMajor[$major . '.' . $minor];
// Lastly see if the major version is recognized if the rest fails...
} elseif (isset($this->versionsMajor[$major])) {
$friendly = $this->versionsMajor[$major];
}
// If all else fails, at least display the full build.
if (is_null($friendly)) {
$friendly = 'Build ' . $fullBuild;
} else {
$friendly .= " (Build {$fullBuild})";
}
return $friendly;
}