Mobile_Detect::setDetectionType
Set the detection type. Must be one of self::DETECTION_TYPE_MOBILE or self::DETECTION_TYPE_EXTENDED. Otherwise, nothing is set.
Signature
public function setDetectionType([string
$type = NULL] )
Parameters
$type
— string- The type. Must be a self::DETECTION_TYPE_* constant. The default
parameter is null which will default to self::DETECTION_TYPE_MOBILE.