|
@@ 285-290 (lines=6) @@
|
| 282 |
|
$this->isTierIphone = true; |
| 283 |
|
$this->isTierRichCss = false; |
| 284 |
|
$this->isTierGenericMobile = false; |
| 285 |
|
} elseif ( $this->is_android() ) { |
| 286 |
|
$this->matched_agent = 'android'; |
| 287 |
|
$this->isTierIphone = true; |
| 288 |
|
$this->isTierRichCss = false; |
| 289 |
|
$this->isTierGenericMobile = false; |
| 290 |
|
} elseif ( $this->is_windows_phone_8() ) { |
| 291 |
|
$this->matched_agent = 'winphone8'; |
| 292 |
|
$this->isTierIphone = true; |
| 293 |
|
$this->isTierRichCss = false; |
|
@@ 295-300 (lines=6) @@
|
| 292 |
|
$this->isTierIphone = true; |
| 293 |
|
$this->isTierRichCss = false; |
| 294 |
|
$this->isTierGenericMobile = false; |
| 295 |
|
} elseif ( $this->is_WindowsPhone7() ) { |
| 296 |
|
$this->matched_agent = 'win7'; |
| 297 |
|
$this->isTierIphone = true; |
| 298 |
|
$this->isTierRichCss = false; |
| 299 |
|
$this->isTierGenericMobile = false; |
| 300 |
|
} elseif ( $this->is_blackberry_10() ) { |
| 301 |
|
$this->matched_agent = 'blackberry-10'; |
| 302 |
|
$this->isTierIphone = true; |
| 303 |
|
$this->isTierRichCss = false; |
|
@@ 305-310 (lines=6) @@
|
| 302 |
|
$this->isTierIphone = true; |
| 303 |
|
$this->isTierRichCss = false; |
| 304 |
|
$this->isTierGenericMobile = false; |
| 305 |
|
} elseif ( $this->is_blackbeberry() && 'blackberry-webkit' === $this->detect_blackberry_browser_version() ) { |
| 306 |
|
$this->matched_agent = 'blackberry-webkit'; |
| 307 |
|
$this->isTierIphone = true; |
| 308 |
|
$this->isTierRichCss = false; |
| 309 |
|
$this->isTierGenericMobile = false; |
| 310 |
|
} elseif ( $this->is_blackberry_tablet() ) { |
| 311 |
|
$this->matched_agent = 'blackberry_tablet'; |
| 312 |
|
$this->isTierIphone = true; |
| 313 |
|
$this->isTierRichCss = false; |
|
@@ 315-320 (lines=6) @@
|
| 312 |
|
$this->isTierIphone = true; |
| 313 |
|
$this->isTierRichCss = false; |
| 314 |
|
$this->isTierGenericMobile = false; |
| 315 |
|
} elseif ( $this->is_PalmWebOS() ) { |
| 316 |
|
$this->matched_agent = 'webos'; |
| 317 |
|
$this->isTierIphone = true; |
| 318 |
|
$this->isTierRichCss = false; |
| 319 |
|
$this->isTierGenericMobile = false; |
| 320 |
|
} elseif ( $this->is_TouchPad() ) { |
| 321 |
|
$this->matched_agent = 'hp_tablet'; |
| 322 |
|
$this->isTierIphone = true; |
| 323 |
|
$this->isTierRichCss = false; |
|
@@ 325-330 (lines=6) @@
|
| 322 |
|
$this->isTierIphone = true; |
| 323 |
|
$this->isTierRichCss = false; |
| 324 |
|
$this->isTierGenericMobile = false; |
| 325 |
|
} elseif ( $this->is_firefox_os() ) { |
| 326 |
|
$this->matched_agent = 'firefoxOS'; |
| 327 |
|
$this->isTierIphone = true; |
| 328 |
|
$this->isTierRichCss = false; |
| 329 |
|
$this->isTierGenericMobile = false; |
| 330 |
|
} elseif ( $this->is_firefox_mobile() ) { |
| 331 |
|
$this->matched_agent = 'fennec'; |
| 332 |
|
$this->isTierIphone = true; |
| 333 |
|
$this->isTierRichCss = false; |
|
@@ 335-340 (lines=6) @@
|
| 332 |
|
$this->isTierIphone = true; |
| 333 |
|
$this->isTierRichCss = false; |
| 334 |
|
$this->isTierGenericMobile = false; |
| 335 |
|
} elseif ( $this->is_opera_mobile() ) { |
| 336 |
|
$this->matched_agent = 'opera-mobi'; |
| 337 |
|
$this->isTierIphone = true; |
| 338 |
|
$this->isTierRichCss = false; |
| 339 |
|
$this->isTierGenericMobile = false; |
| 340 |
|
} elseif ( $this->is_MaemoTablet() ) { |
| 341 |
|
$this->matched_agent = 'maemo'; |
| 342 |
|
$this->isTierIphone = true; |
| 343 |
|
$this->isTierRichCss = false; |
|
@@ 345-350 (lines=6) @@
|
| 342 |
|
$this->isTierIphone = true; |
| 343 |
|
$this->isTierRichCss = false; |
| 344 |
|
$this->isTierGenericMobile = false; |
| 345 |
|
} elseif ( $this->is_MeeGo() ) { |
| 346 |
|
$this->matched_agent = 'meego'; |
| 347 |
|
$this->isTierIphone = true; |
| 348 |
|
$this->isTierRichCss = false; |
| 349 |
|
$this->isTierGenericMobile = false; |
| 350 |
|
} elseif ( $this->is_kindle_touch() ) { |
| 351 |
|
$this->matched_agent = 'kindle-touch'; |
| 352 |
|
$this->isTierIphone = true; |
| 353 |
|
$this->isTierRichCss = false; |
|
@@ 355-360 (lines=6) @@
|
| 352 |
|
$this->isTierIphone = true; |
| 353 |
|
$this->isTierRichCss = false; |
| 354 |
|
$this->isTierGenericMobile = false; |
| 355 |
|
} elseif ( $this->is_Nintendo_3DS() ) { |
| 356 |
|
$this->matched_agent = 'nintendo-3ds'; |
| 357 |
|
$this->isTierIphone = true; |
| 358 |
|
$this->isTierRichCss = false; |
| 359 |
|
$this->isTierGenericMobile = false; |
| 360 |
|
} else { |
| 361 |
|
$this->isTierIphone = false; |
| 362 |
|
} |
| 363 |
|
return $this->isTierIphone; |
|
@@ 385-390 (lines=6) @@
|
| 382 |
|
$this->isTierIphone = false; |
| 383 |
|
$this->isTierRichCss = true; |
| 384 |
|
$this->isTierGenericMobile = false; |
| 385 |
|
} elseif ( $this->is_opera_mini() ) { |
| 386 |
|
$this->matched_agent = 'opera-mini'; |
| 387 |
|
$this->isTierIphone = false; |
| 388 |
|
$this->isTierRichCss = true; |
| 389 |
|
$this->isTierGenericMobile = false; |
| 390 |
|
} elseif ( $this->is_blackbeberry() ) { |
| 391 |
|
$detectedDevice = $this->detect_blackberry_browser_version(); |
| 392 |
|
if ( |
| 393 |
|
'blackberry-5' === $detectedDevice |