PHP Class UserAgentParser\Model\Device

Author: Martin Keckeis ([email protected])
Exibir arquivo Open project: ThaDafinser/UserAgentParser Class Usage Examples

Public Methods

Method Description
getBrand ( ) : string
getIsMobile ( ) : boolean
getIsTouch ( ) : boolean
getModel ( ) : string
getType ( ) : string
setBrand ( string $brand )
setIsMobile ( boolean $isMobile )
setIsTouch ( boolean $isTouch )
setModel ( string $model )
setType ( string $type )
toArray ( ) : array

Method Details

getBrand() public method

public getBrand ( ) : string
return string

getIsMobile() public method

public getIsMobile ( ) : boolean
return boolean

getIsTouch() public method

public getIsTouch ( ) : boolean
return boolean

getModel() public method

public getModel ( ) : string
return string

getType() public method

public getType ( ) : string
return string

setBrand() public method

public setBrand ( string $brand )
$brand string

setIsMobile() public method

public setIsMobile ( boolean $isMobile )
$isMobile boolean

setIsTouch() public method

public setIsTouch ( boolean $isTouch )
$isTouch boolean

setModel() public method

public setModel ( string $model )
$model string

setType() public method

public setType ( string $type )
$type string

toArray() public method

public toArray ( ) : array
return array