本文整理汇总了PHP中DeviceModels类的典型用法代码示例。如果您正苦于以下问题:PHP DeviceModels类的具体用法?PHP DeviceModels怎么用?PHP DeviceModels使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了DeviceModels类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<?php
namespace WhichBrowser\Data;
DeviceModels::$PALMOS_INDEX = array('@AC' => array(0 => 'acer-momo', 1 => 'acer-coco', 2 => 'Acea-MZ01', 3 => 'Acea-PD01'), '@GR' => array(0 => 'grmn-3200', 1 => 'grmn-3600', 2 => 'grmn-3700'), '@GS' => array(0 => 'gsRl-zicn', 1 => 'gsRl-zcn2', 2 => 'gsRl-zcn5'), '@HS' => array(0 => 'hspr-H101', 1 => 'hspr-H102'), '@KW' => array(0 => 'kwc.-7135'), '@PA' => array(0 => 'Palm-D061', 1 => 'Palm-D062', 2 => 'Palm-TunX', 3 => 'Palm-stuj', 4 => 'Palm-hbbs', 5 => 'Palm-trnd', 6 => 'Palm-ecty', 7 => 'Palm-lith', 8 => 'Palm-sky1', 9 => 'Palm-D053', 10 => 'Palm-D052', 11 => 'Palm-D060', 12 => 'Palm-MT64', 13 => 'Palm-Cct1', 14 => 'Palm-Zir4', 15 => 'Palm-Frg1', 16 => 'Palm-Frg2', 17 => 'Palm-Arz1', 18 => 'Palm-TnT5', 19 => 'Palm-atc1', 20 => 'Palm-D050', 21 => 'Palm-Cubs', 22 => 'Palm-Zi21', 23 => 'Palm-D051', 24 => 'Palm-Zi22', 25 => 'Palm-Zpth', 26 => 'Palm-Zi72'), '@QC' => array(0 => 'qcom-qc20'), '@SM' => array(0 => 'smsn-phix', 1 => 'smsn-Phx2', 2 => 'smsn-blch', 3 => 'smsn-BLFM', 4 => 'smsn-glxy'), '@SO' => array(0 => 'sony-ystn', 1 => 'sony-ysmt', 2 => 'sony-ysm2', 3 => 'sony-nsca', 4 => 'sony-nsc2', 5 => 'sony-vnce', 6 => 'sony-mdna', 7 => 'sony-npls', 8 => 'sony-rdwd', 9 => 'sony-crdb', 10 => 'sony-tldo', 11 => 'sony-mdrd', 12 => 'sony-grnd', 13 => 'sony-frta', 14 => 'sony-cocs', 15 => 'sony-glps', 16 => 'sony-mcnd', 17 => 'sony-vrna', 18 => 'sony-atom', 19 => 'sony-goha', 20 => 'sony-leia', 21 => 'sony-hwai', 22 => 'sony-goku', 23 => 'sony-luke', 24 => 'sony-amno', 25 => 'sony-prmr', 26 => 'sony-ancy'), '@TP' => array(0 => 'Tpwv-Rdog'), '@TR' => array(0 => 'trgp-trg1', 1 => 'trgp-trg2'));
示例2:
<?php
namespace WhichBrowser;
DeviceModels::$BREW_MODELS = ['Coolpad D508' => ['Coolpad', 'D508'], 'Coolpad E600' => ['Coolpad', 'E600'], 'HUAWEI U2801!' => ['Huawei', 'U2801'], 'HUAWEI U5200!' => ['Huawei', 'U5200'], 'E4255' => ['Kyocera', 'DuraMax E4255'], 'S2151!' => ['Kyocera', 'Coast S2151'], 'M260' => ['Samsung', 'Factor'], 'M390' => ['Samsung', 'Array'], 'M550' => ['Samsung', 'Exclaim'], 'SCH-B309!' => ['Samsung', 'SCH-B309'], 'SCH-F839' => ['Samsung', 'SCH-F839'], 'SCH-M519!' => ['Samsung', 'Metro TV'], 'SCH-S559!' => ['Samsung', 'SCH-S559'], 'SCH-S579!' => ['Samsung', 'SCH-S579'], 'SCH-U380' => ['Samsung', 'Brightside'], 'SCH-U485' => ['Samsung', 'Intensity III'], 'SCH-U820' => ['Samsung', 'Reality'], 'SCH-W709!' => ['Samsung', 'SCH-W709'], 'sam-r631' => ['Samsung', 'Messenger Touch R631'], 'SCP6760' => ['Sanyo', 'Incognito'], 'SCP-6760' => ['Sanyo', 'Incognito'], 'SCP6780' => ['Sanyo', 'Innuendo'], 'HS-E316!' => ['Hisense', 'E316'], 'VX9200!' => ['LG', 'Env3'], 'VX11000' => ['LG', 'Env Touch'], 'VN271' => ['LG', 'Extravert'], 'LG272' => ['LG', 'Rumor Reflex'], 'LG510' => ['LG', 'Rumor Touch'], 'LN510' => ['LG', 'Rumor Touch'], 'VN530' => ['LG', 'Octane'], 'CDM8999' => ['Pantech', 'Crux'], 'CDM8992' => ['Pantech', 'Hotshot'], 'TXT8045' => ['Pantech', 'Jest 2'], 'P6030' => ['Pantech', 'Reneu']];
示例3: array
<?php
DeviceModels::$TOUCHWIZ_MODELS = array('GT-B5310!' => array('Samsung', 'Corby Pro'), 'GT-B3410' => array('Samsung', 'Star Qwerty'), 'GT-B7722' => array('Samsung', 'Star Duos'), 'GT-C3262' => array('Samsung', 'Champ Neo Duos'), 'GT-C33(00|03)!' => array('Samsung', 'Champ'), 'GT-C3312R' => array('Samsung', 'Rex 60'), 'GT-C3312!' => array('Samsung', 'Champ Deluxe Duos'), 'GT-C3330' => array('Samsung', 'Champ 2'), 'GT-C6712' => array('Samsung', 'Star II Duos'), 'GT-E2652!' => array('Samsung', 'Champ Duos'), 'GT-I6230!' => array('Samsung', 'Star TV'), 'GT-I6712!' => array('Samsung', 'Duos TV'), 'GT-M3710' => array('Samsung', 'Corby Beat'), 'GT-M5650' => array('Samsung', 'Lindy'), 'GT-S3370!' => array('Samsung', 'Corby 3G'), 'GT-S36(50|53)!' => array('Samsung', 'Corby'), 'GT-S3770!' => array('Samsung', 'Champ 3G'), 'GT-S38(00|02)!' => array('Samsung', 'Rex 70'), 'GT-S3850' => array('Samsung', 'Corby II'), 'GT-S5220' => array('Samsung', 'Star 3'), 'GT-S5222R' => array('Samsung', 'Rex 80'), 'GT-S5222' => array('Samsung', 'Star 3 Duos'), 'GT-S52(30|33)!' => array('Samsung', 'Star'), 'GT-S5260P' => array('Samsung', 'Player City'), 'GT-S52(60|63)!' => array('Samsung', 'Star II'), 'GT-S5292R' => array('Samsung', 'Rex 90'), 'GT-S5292' => array('Samsung', 'Star Deluxe Duos'), 'GT-S5560!' => array('Samsung', 'Marvel'), 'GT-S5600' => array('Samsung', 'Preston'), 'GT-S5620!' => array('Samsung', 'Monte'), 'GT-S5680' => array('Samsung', 'GT-S5680'), 'GT-S7550' => array('Samsung', 'Blue Earth'), 'S80(00|03)!' => array('Samsung', 'Jet'), 'GT-S8003' => array('Samsung', 'Jet'), 'SGH-A597' => array('Samsung', 'Eternity II'), 'SGH-F480' => array('Samsung', 'Tocco'), 'SGH-F480I' => array('Samsung', 'Tocco'), 'SGH-T528g' => array('Samsung', 'Straight Talk'));
示例4: array
<?php
DeviceModels::$FEATURE_MODELS = array('EF71' => array('BenQ-Siemens', 'EF71'), 'CK13[ai]?!' => array('Sony Ericsson', 'txt'), 'CK15[ai]?!' => array('Sony Ericsson', 'txt Pro'), 'J105[ai]?!' => array('Sony Ericsson', 'Naite'), 'J108[ai]?!' => array('Sony Ericsson', 'Cedar'), 'J10i?!' => array('Sony Ericsson', 'Elm'), 'J20i?!' => array('Sony Ericsson', 'Hazel'), 'U10[ai]?!' => array('Sony Ericsson', 'Aino'), 'U100[ai]?!' => array('Sony Ericsson', 'Yari'), 'EX115' => array('Motorola', 'Starling EX115'), 'EX118' => array('Motorola', 'MOTOKEY XT EX118'), 'EX119' => array('Motorola', 'Brea EX119'), 'EX128' => array('Motorola', 'Kingfisher EX128'), 'EX225' => array('Motorola', 'MOTOKEY Social EX225'), 'EX226' => array('Motorola', 'MOTOKEY Social EX226'), 'EX430' => array('Motorola', 'MotoGo EX430'), 'KC910i' => array('LG', 'KC910i Renoir'), 'KP500!' => array('LG', 'KP500 Cookie'), 'KP570!' => array('LG', 'KP570 Cookie'), 'KU990i' => array('LG', 'KU990 Viewty'), 'GM360' => array('LG', 'GM360 Viewty Snap'), 'GR700' => array('LG', 'GR700 Vu Plus'), 'GS290' => array('LG', 'GS290 Cookie Fresh'), 'GS500' => array('LG', 'GS500 Cookie Plus'), 'GT500!' => array('LG', 'GT500 Puccini'), 'GT550' => array('LG', 'GT550 Encore'), 'GT-B2710' => array('Samsung', 'Xcover 271'), 'GT-B3210' => array('Samsung', 'Corby TXT'), 'GT-B3313' => array('Samsung', 'Corby Mate'), 'GT-C3222' => array('Samsung', 'Ch@t 322'), 'GT-C3322' => array('Samsung', 'GT-C3322 Duos'), 'GT-C3500' => array('Samsung', 'Ch@t 350'), 'GT-E1282!' => array('Samsung', 'Guru'), 'GT-E2152' => array('Samsung', 'GT-E2152 Duos'), 'GT-E2220' => array('Samsung', 'Ch@t 220'), 'GT-E2222' => array('Samsung', 'Ch@t 222'), 'GT-E2202' => array('Samsung', 'Metro'), 'GT-E2250' => array('Samsung', 'Utica'), 'GT-E2252' => array('Samsung', 'Metro 2252'), 'GT-S3332' => array('Samsung', 'Ch@t 333'), 'GT-S33(50|53)!' => array('Samsung', 'Ch@t 335'), 'GT-S35(70|72)!' => array('Samsung', 'Ch@t 357'), 'GT-S5229' => array('Samsung', 'Tocco Lite 2'), 'GT-S5270!' => array('Samsung', 'Ch@t 527'), 'GT-S5610!' => array('Samsung', 'Primo'), 'SCH-W169' => array('Samsung', 'W169 Duos'), 'SGH-A667' => array('Samsung', 'A667 Evergreen'), 'SGH-A877' => array('Samsung', 'A877 Impression'), 'SGH-A927' => array('Samsung', 'A927 Flight II'), 'SGH-A997' => array('Samsung', 'Rugby III'), 'SGH-D880' => array('Samsung', 'D880 Duos'), 'SGH-G600' => array('Samsung', 'G600'), 'SGH-S390G' => array('Samsung', 'S390 TracFone'));
示例5:
<?php
namespace WhichBrowser;
DeviceModels::$WINDOWS_MOBILE_MODELS = ['DX900' => ['Acer', 'Tempo DX900'], 'F900' => ['Acer', 'Tempo F900'], 'S200' => ['Acer', 'neoTouch S200'], 'P400' => ['Acer', 'neoTouch P400'], 'Bird_T900' => ['Bird', 'T900'], 'Coolpad F800' => ['Coolpad', 'F800'], 'T5388' => ['Dopod', 'Touch Diamond 2'], 'garmin-asus-Nuvifone-M10' => ['Garmin-Asus', 'Nuvifone M10'], 'GIGABYTE-MS800' => ['Gigabyte', 'GSmart MS800'], 'HP iPAQ 510' => ['HP', 'iPAQ 510'], 'iPAQ610' => ['HP', 'iPAQ 610'], 'HTC love' => ['HTC', 'P3350'], 'HTC P3400!' => ['HTC', 'P3400'], 'HTC S620!' => ['HTC', 'Excalibur'], '((HTC )?HD mini|.*T5555)!' => ['HTC', 'HD mini'], '((HTC )?HD2|.*T8585)!' => ['HTC', 'HD2'], 'T-Mobile LEO' => ['HTC', 'HD2'], 'dopodT5588' => ['HTC', 'Hengshan'], '(HTC Snap|.*S521)!' => ['HTC', 'Snap'], 'P3450' => ['HTC', 'Touch'], 'HTC Mega!' => ['HTC', 'Touch 2'], '(HTC Touch2|.*T33(20|33|35))!' => ['HTC', 'Touch 2'], 'P3650' => ['HTC', 'Touch Cruise'], 'P3650t' => ['HTC', 'Touch Cruise'], '(HTC Touch Diamond2|.*T5353)!' => ['HTC', 'Touch Diamond 2'], 'XV6975' => ['HTC', 'Touch Diamond 2'], '(HTC Touch Diamond|.*P3700)!' => ['HTC', 'Touch Diamond'], '(HTC Touch HD2|.*T8585)!' => ['HTC', 'Touch HD2'], '(HTC Touch HD|.*T82(82|83))!' => ['HTC', 'Touch HD'], '(HTC Touch Pro2|.*T73(73|80))!' => ['HTC', 'Touch Pro 2'], 'HTC TyTN II' => ['HTC', 'TyTN II'], 'P4550' => ['HTC', 'TyTN II'], 'GW825' => ['LG', 'IQ GW825'], 'VS750' => ['LG', 'Fathom VS750'], 'ES405B' => ['Motorola', 'ES405 Enterprise Smartphone'], 'MC659B' => ['Motorola', 'MC65 Wireless Rugged Mobile Computer'], 'comet' => ['O2', 'XDA Comet'], 'SPV E600' => ['Orange', 'SPV E600'], 'SPV E650' => ['Orange', 'SPV E650'], 'Treo850e' => ['Palm', 'Treo 850e'], 'GT-B5722' => ['Samsung', 'B5722'], 'GT-B6520' => ['Samsung', 'B6520 OmniaPRO 5'], 'GT-B7300' => ['Samsung', 'B7300 OmniaLITE'], 'GT-B7320' => ['Samsung', 'B7320 OmniaPRO'], 'GT-B7330' => ['Samsung', 'B7330 OmniaPRO'], 'GT-B7350' => ['Samsung', 'B7350 OmniaPRO 4'], 'GT-B7610' => ['Samsung', 'B7610 OmniaPRO'], 'GT-C6625' => ['Samsung', 'C6625 Valencia'], 'GT-I8000!' => ['Samsung', 'I8000 Omnia II'], 'SCH-M715' => ['Samsung', 'M715 T*OMNIA II'], 'SGH-I637' => ['Samsung', 'i637 Jack'], 'SGH-i900' => ['Samsung', 'i900 Omnia'], 'SCH-i920' => ['Samsung', 'i920 Omnia II'], 'WS007SH' => ['Sharp', 'W-ZERO3'], 'M1i' => ['Sony Ericsson', 'M1i Aspen'], 'X2' => ['Sony Ericsson', 'Xperia X2'], 'T-Mobile Cleopatra' => ['T-Mobile', 'Shadow II'], 'XV6175.1' => ['UTStarcom', 'XV6175']];
示例6: array
<?php
DeviceModels::$S60_MODELS = array('M600i' => array('Sony Ericsson', 'M600i'), 'U1i' => array('Sony Ericsson', 'Satio'), 'U5(i|iv)!' => array('Sony Ericsson', 'Vivaz'), 'U8i' => array('Sony Ericsson', 'Vivaz Pro'), 'W100i' => array('Sony Ericsson', 'Spiro'), 'I7710' => array('Samsung', 'GT-I7710'), 'I8510' => array('Samsung', 'INNOV8'), 'I8910' => array('Samsung', 'Omnia HD'), 'SGH-i450' => array('Samsung', 'i450'), 'SGH-G810' => array('Samsung', 'G810'), 'C5-00!' => array('Nokia', 'C5-00'), 'C5-01' => array('Nokia', 'C5-01'), 'C5-03!' => array('Nokia', 'C5-03'), 'C5-04' => array('Nokia', 'C5-04'), 'C5-05' => array('Nokia', 'C5-05'), 'C5-06' => array('Nokia', 'C5-06'), 'C6-00!' => array('Nokia', 'C6-00'), 'C6-01!' => array('Nokia', 'C6-01'), 'C7-00!' => array('Nokia', 'C7-00'), 'E5-00!' => array('Nokia', 'E5-00'), 'E6' => array('Nokia', 'E6-00'), 'E6-00' => array('Nokia', 'E6-00'), 'E7-00' => array('Nokia', 'E7-00'), 'N8-00' => array('Nokia', 'N8-00'), 'T7-00' => array('Nokia', 'T7-00'), 'X5-00' => array('Nokia', 'X5-00'), 'X5-01' => array('Nokia', 'X5-01'), 'X6-00!' => array('Nokia', 'X6-00'), 'X7-00!' => array('Nokia', 'X7-00'), 'N-Gage' => array('Nokia', 'N-Gage'), 'N-GageQD' => array('Nokia', 'N-Gage QD'), 'E50!' => array('Nokia', 'E50'), 'E51!' => array('Nokia', 'E51'), 'E52!' => array('Nokia', 'E52'), 'E55!' => array('Nokia', 'E55'), 'E60!' => array('Nokia', 'E60'), 'E61i!' => array('Nokia', 'E61i'), 'E61!' => array('Nokia', 'E61'), 'E62!' => array('Nokia', 'E62'), 'E63!' => array('Nokia', 'E63'), 'E65!' => array('Nokia', 'E65'), 'E66!' => array('Nokia', 'E66'), 'E70!' => array('Nokia', 'E70'), 'E71x' => array('Nokia', 'E71x'), 'E71!' => array('Nokia', 'E71'), 'E72!' => array('Nokia', 'E72'), 'E73!' => array('Nokia', 'E73 Mode'), 'E75!' => array('Nokia', 'E75 '), 'E90!' => array('Nokia', 'E90 Communicator '), 'N70!' => array('Nokia', 'N70'), 'N71!' => array('Nokia', 'N71'), 'N72!' => array('Nokia', 'N72'), 'N73!' => array('Nokia', 'N73'), 'N75!' => array('Nokia', 'N75'), 'N76!' => array('Nokia', 'N76'), 'N77!' => array('Nokia', 'N77'), 'N78!' => array('Nokia', 'N78'), 'N79!' => array('Nokia', 'N79'), 'N80!' => array('Nokia', 'N80'), 'N81!' => array('Nokia', 'N81'), 'N82!' => array('Nokia', 'N82'), 'N85!' => array('Nokia', 'N85'), 'N86!' => array('Nokia', 'N86 8MP'), 'N90!' => array('Nokia', 'N90'), 'N91!' => array('Nokia', 'N91'), 'N92!' => array('Nokia', 'N92'), 'N93-1' => array('Nokia', 'N93'), 'N93i' => array('Nokia', 'N93i'), 'N95' => array('Nokia', 'N95'), 'N95 8GB' => array('Nokia', 'N95 8GB'), 'N95-3' => array('Nokia', 'N95-3 NAM'), 'N96-1' => array('Nokia', 'N96'), 'N96-3' => array('Nokia', 'N96-3'), 'N97' => array('Nokia', 'N97'), 'N97i' => array('Nokia', 'N97'), 'N97-1' => array('Nokia', 'N97'), 'N97-3' => array('Nokia', 'N97'), 'N97-4' => array('Nokia', 'N97 Mini'), 'N97-5' => array('Nokia', 'N97 Mini'), 'N97mini' => array('Nokia', 'N97 Mini'), '500!' => array('Nokia', '500'), '603' => array('Nokia', '603'), '700' => array('Nokia', '700'), '701' => array('Nokia', '701'), '702T' => array('Nokia', '702T'), '808!' => array('Nokia', '808 PureView'), '5228' => array('Nokia', '5228'), '5233!' => array('Nokia', '5228'), '5230!' => array('Nokia', '5230'), '5235' => array('Nokia', '5235 Ovi Music Unlimited'), '5236' => array('Nokia', '5236'), '5250' => array('Nokia', '5250'), '5320!' => array('Nokia', '5320 XpressMusic'), '5500d!' => array('Nokia', '5500 Sport'), '5530!' => array('Nokia', '5530 XpressMusic'), '5630!' => array('Nokia', '5630 XpressMusic'), '5700!' => array('Nokia', '5700 XpressMusic'), '5730!' => array('Nokia', '5730 XpressMusic'), '5800!' => array('Nokia', '5800 XpressMusic'), '6110Navigator' => array('Nokia', '6110 Navigator'), '6120c!' => array('Nokia', '6120 classic'), '6121c!' => array('Nokia', '6121 classic'), '6124c' => array('Nokia', '6124 classic'), '6210Navigator' => array('Nokia', '6210 Navigator'), '6220c!' => array('Nokia', '6220 classic'), '6290!' => array('Nokia', '6290'), '6600' => array('Nokia', '6600'), '6650d!' => array('Nokia', '6650 fold'), '6680' => array('Nokia', '6680'), '6700s' => array('Nokia', '6700 slide'), '6710s' => array('Nokia', '6710 Navigator'), '6720c' => array('Nokia', '6720 classic'), '6730c!' => array('Nokia', '6730 classic'), '6760s!' => array('Nokia', '6760 slide'), '6788' => array('Nokia', '6788'), '6788i' => array('Nokia', '6788i'), '6790s-1b!' => array('Nokia', '6790 Surge'), '6790s-1c!' => array('Nokia', '6790 slide'), '7610' => array('Nokia', '7610'), '7660' => array('Nokia', '7660'));
示例7: array
<?php
namespace WhichBrowser\Data;
DeviceModels::$FEATURE_INDEX = array('@AM' => array(0 => 'Amstrad Gamma'), '@BE' => array(0 => 'Benefon Q'), '@CK' => array(0 => 'CK13[ai]?$!', 1 => 'CK15[ai]?$!'), '@CO' => array(0 => 'COCOON'), '@EF' => array(0 => 'EF71'), '@EX' => array(0 => 'EX115', 1 => 'EX118', 2 => 'EX119', 3 => 'EX128', 4 => 'EX225', 5 => 'EX226', 6 => 'EX430'), '@F1' => array(0 => 'F100[ai]?$!'), '@GM' => array(0 => 'GM360'), '@GR' => array(0 => 'GR700'), '@GS' => array(0 => 'GS290', 1 => 'GS500'), '@GT' => array(0 => 'GT500!', 1 => 'GT550', 2 => 'GT-B2710', 3 => 'GT-B3210', 4 => 'GT-B3313', 5 => 'GT-C3200', 6 => 'GT-C3222', 7 => 'GT-C3322', 8 => 'GT-C3500', 9 => 'GT-C5010!', 10 => 'GT-E1282!', 11 => 'GT-E2152', 12 => 'GT-E2220', 13 => 'GT-E2222', 14 => 'GT-E2202', 15 => 'GT-E2250', 16 => 'GT-E2252', 17 => 'GT-E3213', 18 => 'GT-E3309I', 19 => 'GT-M8910', 20 => 'GT-S3332', 21 => 'GT-S33(50|53)!', 22 => 'GT-S35(70|72)!', 23 => 'GT-S5229', 24 => 'GT-S5270!', 25 => 'GT-S5610!', 26 => 'GT-I6410!', 27 => 'GT-I8320!', 28 => 'GT-I8330!'), '@J1' => array(0 => 'J105[ai]?$!', 1 => 'J108[ai]?$!', 2 => 'J10(i2?)?$!'), '@J2' => array(0 => 'J20[ai]?$!'), '@K6' => array(0 => 'K612'), '@KC' => array(0 => 'KC910i'), '@KP' => array(0 => 'KP500!', 1 => 'KP570!'), '@KU' => array(0 => 'KU990i'), '@LG' => array(0 => 'LG-KU380', 1 => 'LG-KU580', 2 => 'LG-KU990'), '@LI' => array(0 => 'Lightpipe'), '@M3' => array(0 => 'm3510c'), '@MO' => array(0 => 'MOTOQA1'), '@P7' => array(0 => 'P7000'), '@P9' => array(0 => 'P9020', 1 => 'P9050'), '@PL' => array(0 => 'PLS6600KJ'), '@PM' => array(0 => 'PM-8200'), '@S7' => array(0 => 'S7350'), '@SA' => array(0 => 'sam-r560'), '@SC' => array(0 => 'SCP-5500', 1 => 'SCP-6600', 2 => 'SCH-W169', 3 => 'SCH-W279'), '@SE' => array(0 => 'Sendo Wap'), '@SG' => array(0 => 'SGH-A667', 1 => 'SGH-A697', 2 => 'SGH-A877', 3 => 'SGH-A927', 4 => 'SGH-A997', 5 => 'SGH-D880', 6 => 'SGH-E250i', 7 => 'SGH-E250V', 8 => 'SGH-G600', 9 => 'SGH-J700i', 10 => 'SGH-J700V', 11 => 'SGH-M200', 12 => 'SGH-S150G', 13 => 'SGH-S390G', 14 => 'SGH-T189N', 15 => 'SGHX660V', 16 => 'SGH-Z107!', 17 => 'SGH-Z130!', 18 => 'SGH-Z500!'), '@SM' => array(0 => 'SM-B313E', 1 => 'SM-B350E', 2 => 'SM-B780(A|W)!'), '@TE' => array(0 => 'tecnot36'), '@U1' => array(0 => 'U100[ai]?$!', 1 => 'U10[ai]?$!'), '@VO' => array(0 => 'Vodafone 575'), '@W1' => array(0 => 'W100i?$!', 1 => 'W150i?$!'), '@W2' => array(0 => 'W20i?$!'), '@WI' => array(0 => 'WIDETEL WCX150'), '@WT' => array(0 => 'WT13i$!'), '@X5' => array(0 => 'X5i$!'));
示例8: array
<?php
DeviceModels::$BADA_MODELS = array('GT- ?S52(50|53)!' => array('Samsung', 'Wave 525'), 'GT-S53(30|33)!' => array('Samsung', 'Wave 533'), 'GT-S5380!' => array('Samsung', 'Wave Y'), 'GT-S57(50|53)!' => array('Samsung', 'Wave 575'), 'GT-S72(30|33)!' => array('Samsung', 'Wave 723'), 'GT-S7250!' => array('Samsung', 'Wave M'), 'GT-S8500!' => array('Samsung', 'Wave'), 'GT- ?S8530!' => array('Samsung', 'Wave II'), 'GT- ?S8600!' => array('Samsung', 'Wave 3'), 'SHW-M410' => array('Samsung', 'Wave 3'));
示例9: array
<?php
namespace WhichBrowser\Data;
DeviceModels::$ASHA_INDEX = array('@50' => array(0 => 500, 1 => 501, 2 => '501s', 3 => '501.1', 4 => '501.2', 5 => 502, 6 => 503, 7 => '503s'), '@AS' => array(0 => 'Asha230SingleSIM', 1 => 'Asha230DualSIM', 2 => 'Asha500SingleSIM', 3 => 'Asha500DualSIM'));
示例10: identifyList
static function identifyList($list, $model, $cleanup = true)
{
$original = $model;
if ($cleanup) {
$model = DeviceModels::cleanup($model);
}
$device = (object) array('type' => TYPE_MOBILE, 'identified' => ID_NONE, 'manufacturer' => null, 'model' => $model, 'identifier' => $original, 'generic' => false);
foreach ($list as $m => $v) {
$match = null;
if (DeviceModels::hasMatch($m, $model)) {
if (substr($m, -2) == "!!") {
foreach ($v as $m2 => $v2) {
if (DeviceModels::hasMatch($m2, $model)) {
$match = $v2;
continue;
}
}
} else {
$match = $v;
}
}
if ($match) {
$device->manufacturer = $match[0];
$device->model = $match[1];
if (isset($match[2])) {
$device->type = $match[2];
}
if (isset($match[3])) {
$device->flag = $match[3];
}
$device->identified = ID_MATCH_UA;
if ($device->manufacturer == null && $device->model == null) {
$device->identified = ID_PATTERN;
}
return $device;
}
}
return $device;
}
示例11: array
<?php
namespace WhichBrowser\Data;
DeviceModels::$FIREFOXOS_INDEX = array('@AL' => array(0 => 'ALCATEL ONE TOUCH FIRE', 1 => 'ALCATEL ONE TOUCH 4012A', 2 => 'ALCATEL ONE TOUCH 4012X', 3 => 'ALCATELOneTouch4012A!', 4 => 'ALCATELOneTouch4012X!', 5 => 'ALCATELOneTouch4019A!', 6 => 'ALCATELOneTouch4019X!', 7 => 'ALCATELOneTouch4020D!', 8 => 'ALCATELOneTouch4022!', 9 => 'ALCATELOneTouch4023!', 10 => 'ALCATELOneTouch6015X!'), '@HU' => array(0 => 'HUAWEI Ascend Y300-F1', 1 => 'HUAWEIY300-F1'), '@LG' => array(0 => 'LG-D3(00|01)!', 1 => 'LGL25'), '@MA' => array(0 => 'madai'), '@ON' => array(0 => 'OneTouch4019A'), '@OP' => array(0 => 'OPEN', 1 => 'OpenC', 2 => 'Open C', 3 => 'OPENC2', 4 => 'OPEN2'), '@OR' => array(0 => 'Orange KLIF', 1 => 'Orange KLIFD'), '@ZT' => array(0 => 'ZTEOPEN'));
示例12: array
<?php
DeviceModels::$FIREFOXOS_MODELS = array('ALCATEL ONE TOUCH FIRE' => array('Alcatel', 'One Touch Fire'), 'ALCATEL ONE TOUCH 4012A' => array('Alcatel', 'One Touch Fire'), 'ALCATELOneTouch4012A!' => array('Alcatel', 'One Touch Fire'), 'ALCATELOneTouch4012X!' => array('Alcatel', 'One Touch Fire'), 'ALCATELOneTouch4019A!' => array('Alcatel', 'One Touch Fire C'), 'ALCATELOneTouch4019X!' => array('Alcatel', 'One Touch Fire C'), 'ALCATELOneTouch6015X!' => array('Alcatel', 'One Touch Fire E'), 'LG-D300' => array('LG', 'Fireweb'), 'ZTEOPEN' => array('ZTE', 'Open'), 'OpenC' => array('ZTE', 'Open C'), 'Open C' => array('ZTE', 'Open C'));
示例13:
<?php
namespace WhichBrowser\Data;
DeviceModels::$BADA_MODELS = ['GT- ?S52(50|53)!' => ['Samsung', 'Wave 525'], 'GT-S53(30|33)!' => ['Samsung', 'Wave 533'], 'GT-S5380!' => ['Samsung', 'Wave Y'], 'GT-S57(50|53)!' => ['Samsung', 'Wave 575'], 'GT-S57(80)!' => ['Samsung', 'Wave 578'], 'GT-S72(30|33)!' => ['Samsung', 'Wave 723'], 'GT-S7250!' => ['Samsung', 'Wave M'], 'GT-S8500!' => ['Samsung', 'Wave'], 'GT- ?S8530!' => ['Samsung', 'Wave II'], 'GT- ?S8600!' => ['Samsung', 'Wave 3'], 'SHW-M410' => ['Samsung', 'Wave 3']];
示例14:
<?php
namespace WhichBrowser;
DeviceModels::$FIREFOXOS_MODELS = ['ALCATEL ONE TOUCH FIRE' => ['Alcatel', 'One Touch Fire'], 'ALCATEL ONE TOUCH 4012A' => ['Alcatel', 'One Touch Fire'], 'ALCATEL ONE TOUCH 4012X' => ['Alcatel', 'One Touch Fire'], 'ALCATELOneTouch4012A!' => ['Alcatel', 'One Touch Fire'], 'ALCATELOneTouch4012X!' => ['Alcatel', 'One Touch Fire'], 'OneTouch4019A' => ['Alcatel', 'One Touch Fire C'], 'ALCATELOneTouch4019A!' => ['Alcatel', 'One Touch Fire C'], 'ALCATELOneTouch4019X!' => ['Alcatel', 'One Touch Fire C'], 'ALCATELOneTouch4020D!' => ['Alcatel', 'One Touch Fire C'], 'ALCATELOneTouch4022!' => ['Alcatel', 'One Touch Pixi 3 (3.5)'], 'ALCATELOneTouch4023!' => ['Alcatel', 'One Touch Pixi 3 (3.5)'], 'ALCATELOneTouch6015X!' => ['Alcatel', 'One Touch Fire E'], 'HUAWEI Ascend Y300-F1' => ['Huawei', 'Ascend Y300 F1'], 'HUAWEIY300-F1' => ['Huawei', 'Ascend Y300 F1'], 'LG-D300' => ['LG', 'Fireweb'], 'LGL25' => ['LG', 'Fx0'], 'madai' => ['LG', 'Fx0'], 'Orange KLIF' => ['Orange', 'Kilf'], 'Orange KLIFD' => ['Orange', 'Kilf'], 'OPEN' => ['ZTE', 'Open'], 'ZTEOPEN' => ['ZTE', 'Open'], 'OpenC' => ['ZTE', 'Open C'], 'Open C' => ['ZTE', 'Open C'], 'OPEN2' => ['ZTE', 'Open II']];
示例15:
<?php
namespace WhichBrowser;
DeviceModels::$BLACKBERRY_MODELS = ['9000' => 'Bold', '9600' => 'Bold', '9650' => 'Bold', '9700' => 'Bold', '9780' => 'Bold', '9788' => 'Bold', '9790' => 'Bold', '9900' => 'Bold', '9930' => 'Bold', '8300' => 'Curve', '8310' => 'Curve', '8320' => 'Curve', '8330' => 'Curve', '8350i' => 'Curve', '8520' => 'Curve', '8530' => 'Curve', '8900' => 'Curve', '9220' => 'Curve', '9300' => 'Curve', '9310' => 'Curve', '9320' => 'Curve', '9330' => 'Curve', '9350' => 'Curve', '9360' => 'Curve', '9370' => 'Curve', '9380' => 'Curve', '8100' => 'Pearl', '8110' => 'Pearl', '8120' => 'Pearl', '8130' => 'Pearl', '8220' => 'Pearl', '8230' => 'Pearl', '9100' => 'Pearl', '9105' => 'Pearl', '9500' => 'Storm', '9520' => 'Storm2', '9530' => 'Storm', '9550' => 'Storm', '9670' => 'Style', '9800' => 'Torch', '9810' => 'Torch', '9850' => 'Torch', '9860' => 'Torch', '9630' => 'Tour', '9981' => 'Porsche P'];