DeviceDetector.php
public function getClient($attr = '')
    {
        if ($attr == '') {
            return $this->client;
        }

        if (!isset($this->client[$attr])) {
            return self::UNKNOWN;
        }

        return $this->client[$attr];
    }
public function getClient($attr = '')
    {
        if ($attr == '') {
            return $this->client;
        }

        if (!isset($this->client[$attr])) {
            return self::UNKNOWN;
        }

        return $this->client[$attr];
    }
public function getClient ( $ attr = '' ) { if ( $ attr == '' ) { return $ this -> client ; } if ( ! isset ( $ this -> client [ $ attr ] ) ) { return self :: UNKNOWN ; } return $ this -> client [ $ attr ] ; }
Returns the client data extracted from the parsed UA

If $attr is given only that property will be returned

@param string $attr property to return(optional)

@return array|string
Returns the client data extracted from the parsed UA