public static getFullName ( string $brandId ) : string | ||
$brandId | string | short brand name |
return | string |
public static function getFullName($brandId)
{
if (array_key_exists($brandId, self::$deviceBrands)) {
return self::$deviceBrands[$brandId];
}
return '';
}
/** * Returns the full device brand name extracted from the parsed UA * * @see self::$deviceBrand for available device brands * * @return string */ public function getBrandName() { return DeviceParserAbstract::getFullName($this->getBrand()); }