@@ 27-37 (lines=11) @@ | ||
24 | testUaList($this,'Device','Name',$ualist,'iPhone'); |
|
25 | } |
|
26 | ||
27 | public function testIPad() |
|
28 | { |
|
29 | $ualist = array( |
|
30 | 'Mozilla/5.0 (iPad; CPU OS 6_1_3 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B329 Safari/8536.25', |
|
31 | 'Mozilla/5.0 (iPad; CPU OS 6_1_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) CriOS/25.0.1364.124 Mobile/10B146 Safari/8536.25', |
|
32 | 'Mozilla/5.0 (iPad; CPU OS 6_1_2 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10B147 Safari/8536.25', |
|
33 | 'Mozilla/5.0 (iPad; CPU OS 5_1_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Mobile/9B206' |
|
34 | ); |
|
35 | ||
36 | testUaList($this,'Device','Name',$ualist,'iPad'); |
|
37 | } |
|
38 | ||
39 | public function testLumia() |
|
40 | { |
|
@@ 39-49 (lines=11) @@ | ||
36 | testUaList($this,'Device','Name',$ualist,'iPad'); |
|
37 | } |
|
38 | ||
39 | public function testLumia() |
|
40 | { |
|
41 | $ualist = array( |
|
42 | 'Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 625)', |
|
43 | 'Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 625H)', |
|
44 | 'Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 1520)', |
|
45 | 'Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 900)' |
|
46 | ); |
|
47 | ||
48 | testUaList($this,'Device','Name',$ualist,'Lumia'); |
|
49 | } |
|
50 | } |
|
51 |