@@ 349-354 (lines=6) @@ | ||
346 | $this->isTierIphone = true; |
|
347 | $this->isTierRichCss = false; |
|
348 | $this->isTierGenericMobile = false; |
|
349 | } elseif ( $this->is_android() ) { |
|
350 | $this->matched_agent = 'android'; |
|
351 | $this->isTierIphone = true; |
|
352 | $this->isTierRichCss = false; |
|
353 | $this->isTierGenericMobile = false; |
|
354 | } elseif ( $this->is_windows_phone_8() ) { |
|
355 | $this->matched_agent = 'winphone8'; |
|
356 | $this->isTierIphone = true; |
|
357 | $this->isTierRichCss = false; |
|
@@ 359-364 (lines=6) @@ | ||
356 | $this->isTierIphone = true; |
|
357 | $this->isTierRichCss = false; |
|
358 | $this->isTierGenericMobile = false; |
|
359 | } elseif ( $this->is_WindowsPhone7() ) { |
|
360 | $this->matched_agent = 'win7'; |
|
361 | $this->isTierIphone = true; |
|
362 | $this->isTierRichCss = false; |
|
363 | $this->isTierGenericMobile = false; |
|
364 | } elseif ( $this->is_blackberry_10() ) { |
|
365 | $this->matched_agent = 'blackberry-10'; |
|
366 | $this->isTierIphone = true; |
|
367 | $this->isTierRichCss = false; |
|
@@ 369-374 (lines=6) @@ | ||
366 | $this->isTierIphone = true; |
|
367 | $this->isTierRichCss = false; |
|
368 | $this->isTierGenericMobile = false; |
|
369 | } elseif ( $this->is_blackbeberry() && $this->detect_blackberry_browser_version() == 'blackberry-webkit' ) { |
|
370 | $this->matched_agent = 'blackberry-webkit'; |
|
371 | $this->isTierIphone = true; |
|
372 | $this->isTierRichCss = false; |
|
373 | $this->isTierGenericMobile = false; |
|
374 | } elseif ( $this->is_blackberry_tablet() ) { |
|
375 | $this->matched_agent = 'blackberry_tablet'; |
|
376 | $this->isTierIphone = true; |
|
377 | $this->isTierRichCss = false; |
|
@@ 379-384 (lines=6) @@ | ||
376 | $this->isTierIphone = true; |
|
377 | $this->isTierRichCss = false; |
|
378 | $this->isTierGenericMobile = false; |
|
379 | } elseif ( $this->is_PalmWebOS() ) { |
|
380 | $this->matched_agent = 'webos'; |
|
381 | $this->isTierIphone = true; |
|
382 | $this->isTierRichCss = false; |
|
383 | $this->isTierGenericMobile = false; |
|
384 | } elseif ( $this->is_TouchPad() ) { |
|
385 | $this->matched_agent = 'hp_tablet'; |
|
386 | $this->isTierIphone = true; |
|
387 | $this->isTierRichCss = false; |
|
@@ 389-394 (lines=6) @@ | ||
386 | $this->isTierIphone = true; |
|
387 | $this->isTierRichCss = false; |
|
388 | $this->isTierGenericMobile = false; |
|
389 | } elseif ( $this->is_firefox_os() ) { |
|
390 | $this->matched_agent = 'firefoxOS'; |
|
391 | $this->isTierIphone = true; |
|
392 | $this->isTierRichCss = false; |
|
393 | $this->isTierGenericMobile = false; |
|
394 | } elseif ( $this->is_firefox_mobile() ) { |
|
395 | $this->matched_agent = 'fennec'; |
|
396 | $this->isTierIphone = true; |
|
397 | $this->isTierRichCss = false; |
|
@@ 399-404 (lines=6) @@ | ||
396 | $this->isTierIphone = true; |
|
397 | $this->isTierRichCss = false; |
|
398 | $this->isTierGenericMobile = false; |
|
399 | } elseif ( $this->is_opera_mobile() ) { |
|
400 | $this->matched_agent = 'opera-mobi'; |
|
401 | $this->isTierIphone = true; |
|
402 | $this->isTierRichCss = false; |
|
403 | $this->isTierGenericMobile = false; |
|
404 | } elseif ( $this->is_MaemoTablet() ) { |
|
405 | $this->matched_agent = 'maemo'; |
|
406 | $this->isTierIphone = true; |
|
407 | $this->isTierRichCss = false; |
|
@@ 409-414 (lines=6) @@ | ||
406 | $this->isTierIphone = true; |
|
407 | $this->isTierRichCss = false; |
|
408 | $this->isTierGenericMobile = false; |
|
409 | } elseif ( $this->is_MeeGo() ) { |
|
410 | $this->matched_agent = 'meego'; |
|
411 | $this->isTierIphone = true; |
|
412 | $this->isTierRichCss = false; |
|
413 | $this->isTierGenericMobile = false; |
|
414 | } elseif ( $this->is_kindle_touch() ) { |
|
415 | $this->matched_agent = 'kindle-touch'; |
|
416 | $this->isTierIphone = true; |
|
417 | $this->isTierRichCss = false; |
|
@@ 419-424 (lines=6) @@ | ||
416 | $this->isTierIphone = true; |
|
417 | $this->isTierRichCss = false; |
|
418 | $this->isTierGenericMobile = false; |
|
419 | } elseif ( $this->is_Nintendo_3DS() ) { |
|
420 | $this->matched_agent = 'nintendo-3ds'; |
|
421 | $this->isTierIphone = true; |
|
422 | $this->isTierRichCss = false; |
|
423 | $this->isTierGenericMobile = false; |
|
424 | } else { |
|
425 | $this->isTierIphone = false; |
|
426 | } |
|
427 | return $this->isTierIphone; |
|
@@ 450-455 (lines=6) @@ | ||
447 | $this->isTierIphone = false; |
|
448 | $this->isTierRichCss = true; |
|
449 | $this->isTierGenericMobile = false; |
|
450 | } elseif ( $this->is_opera_mini() ) { |
|
451 | $this->matched_agent = 'opera-mini'; |
|
452 | $this->isTierIphone = false; |
|
453 | $this->isTierRichCss = true; |
|
454 | $this->isTierGenericMobile = false; |
|
455 | } elseif ( $this->is_blackbeberry() ) { |
|
456 | $detectedDevice = $this->detect_blackberry_browser_version(); |
|
457 | if ( $detectedDevice === 'blackberry-5' || $detectedDevice == 'blackberry-4.7' || $detectedDevice === 'blackberry-4.6' ) { |
|
458 | $this->matched_agent = $detectedDevice; |