DeviceDetector\Parser\Device\DeviceParserAbstract::getFullName PHP Method

getFullName() public static method

Returns the full brand name for the given short name
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 '';
    }

Usage Example

Exemplo n.º 1
0
 /**
  * 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());
 }
All Usage Examples Of DeviceDetector\Parser\Device\DeviceParserAbstract::getFullName