1 | <?php |
||
13 | class BrowscapFull extends AbstractBrowscap |
||
14 | { |
||
15 | /** |
||
16 | * Name of the provider |
||
17 | * |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $name = 'BrowscapFull'; |
||
21 | |||
22 | protected $detectionCapabilities = [ |
||
23 | |||
24 | 'browser' => [ |
||
25 | 'name' => true, |
||
26 | 'version' => true, |
||
27 | ], |
||
28 | |||
29 | 'renderingEngine' => [ |
||
30 | 'name' => true, |
||
31 | 'version' => true, |
||
32 | ], |
||
33 | |||
34 | 'operatingSystem' => [ |
||
35 | 'name' => true, |
||
36 | 'version' => true, |
||
37 | ], |
||
38 | |||
39 | 'device' => [ |
||
40 | 'model' => true, |
||
41 | 'brand' => true, |
||
42 | 'type' => true, |
||
43 | 'isMobile' => true, |
||
44 | 'isTouch' => true, |
||
45 | ], |
||
46 | |||
47 | 'bot' => [ |
||
48 | 'isBot' => true, |
||
49 | 'name' => true, |
||
50 | 'type' => true, |
||
51 | ], |
||
52 | ]; |
||
53 | |||
54 | 2 | public function __construct(Browscap $parser) |
|
58 | } |
||
59 |