本文整理匯總了PHP中Mobile_Detect::isPalmOS方法的典型用法代碼示例。如果您正苦於以下問題:PHP Mobile_Detect::isPalmOS方法的具體用法?PHP Mobile_Detect::isPalmOS怎麽用?PHP Mobile_Detect::isPalmOS使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Mobile_Detect
的用法示例。
在下文中一共展示了Mobile_Detect::isPalmOS方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: get_device_name
//.........這裏部分代碼省略.........
}
if ($detect->isbqTablet()) {
$name = 'bq';
break;
}
if ($detect->isHuaweiTablet()) {
$name = 'Huawei';
break;
}
if ($detect->isNecTablet()) {
$name = 'Nec';
break;
}
if ($detect->isPantechTablet()) {
$name = 'Pantech';
break;
}
if ($detect->isBronchoTablet()) {
$name = 'Broncho';
break;
}
if ($detect->isVersusTablet()) {
$name = 'Versus';
break;
}
if ($detect->isZyncTablet()) {
$name = 'Zync';
break;
}
if ($detect->isPositivoTablet()) {
$name = 'Positivo';
break;
}
if ($detect->isNabiTablet()) {
$name = 'Nabi';
break;
}
if ($detect->isPlaystationTablet()) {
$name = 'Playstation';
break;
}
if ($detect->isGenericTablet()) {
$name = 'Generic';
break;
}
if ($detect->isAndroidOS()) {
$name = 'Android';
break;
}
if ($detect->isBlackBerryOS()) {
$name = 'BlackBerry';
break;
}
if ($detect->isPalmOS()) {
$name = 'Plam';
break;
}
if ($detect->isSymbianOS()) {
$name = 'Symbian';
break;
}
if ($detect->isWindowsMobileOS()) {
$name = 'WindowsMobile';
break;
}
if ($detect->isWindowsPhoneOS()) {
$name = 'WindowsPhone';
break;
}
if ($detect->isiOS()) {
$name = 'iOS';
break;
}
if ($detect->isMeeGoOS()) {
$name = 'MeeGo';
break;
}
if ($detect->isMaemoOS()) {
$name = 'Maemo';
break;
}
if ($detect->isJavaOS()) {
$name = 'JavaOS';
break;
}
if ($detect->iswebOS()) {
$name = 'WebOS';
break;
}
if ($detect->isbadaOS()) {
$name = 'badaOS';
break;
}
if ($detect->isBREWOS()) {
$name = 'BREWOS';
break;
}
} while (false);
return $name . ' ' . $deviceType;
}