当前位置: 首页>>代码示例>>PHP>>正文


PHP DeviceModels::IOS_MODELS方法代码示例

本文整理汇总了PHP中DeviceModels::IOS_MODELS方法的典型用法代码示例。如果您正苦于以下问题:PHP DeviceModels::IOS_MODELS方法的具体用法?PHP DeviceModels::IOS_MODELS怎么用?PHP DeviceModels::IOS_MODELS使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在DeviceModels的用法示例。


在下文中一共展示了DeviceModels::IOS_MODELS方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: array

<?php

DeviceModels::$IOS_MODELS = array('iPhone' => array('Apple', 'iPhone', TYPE_MOBILE), 'iPhone 3G' => array('Apple', 'iPhone 3G', TYPE_MOBILE), 'iPhone 3GS' => array('Apple', 'iPhone 3GS', TYPE_MOBILE), 'iPhone 4' => array('Apple', 'iPhone 4', TYPE_MOBILE), 'iPhone 4S' => array('Apple', 'iPhone 4S', TYPE_MOBILE), 'iPhone 5' => array('Apple', 'iPhone 5', TYPE_MOBILE), 'iPhone 5c' => array('Apple', 'iPhone 5c', TYPE_MOBILE), 'iPhone 5s' => array('Apple', 'iPhone 5s', TYPE_MOBILE), 'iPhone 6' => array('Apple', 'iPhone 6', TYPE_MOBILE), 'iPhone 6 Plus' => array('Apple', 'iPhone 6 Plus', TYPE_MOBILE), 'iPod' => array('Apple', 'iPod touch', TYPE_MEDIA), 'iPod touch' => array('Apple', 'iPod touch', TYPE_MEDIA), 'iPad' => array('Apple', 'iPad', TYPE_TABLET), 'iPhone1,1' => array('Apple', 'iPhone', TYPE_MOBILE), 'iPhone1,2' => array('Apple', 'iPhone 3G', TYPE_MOBILE), 'iPhone2,1' => array('Apple', 'iPhone 3GS', TYPE_MOBILE), 'iPhone3,1' => array('Apple', 'iPhone 4', TYPE_MOBILE), 'iPhone3,2' => array('Apple', 'iPhone 4', TYPE_MOBILE), 'iPhone3,3' => array('Apple', 'iPhone 4', TYPE_MOBILE), 'iPhone4,1' => array('Apple', 'iPhone 4S', TYPE_MOBILE), 'iPhone5,1' => array('Apple', 'iPhone 5', TYPE_MOBILE), 'iPhone5,2' => array('Apple', 'iPhone 5', TYPE_MOBILE), 'iPhone5,3' => array('Apple', 'iPhone 5c', TYPE_MOBILE), 'iPhone5,4' => array('Apple', 'iPhone 5c', TYPE_MOBILE), 'iPhone6,1' => array('Apple', 'iPhone 5s', TYPE_MOBILE), 'iPhone6,2' => array('Apple', 'iPhone 5s', TYPE_MOBILE), 'iPhone7,1' => array('Apple', 'iPhone 6 Plus', TYPE_MOBILE), 'iPhone7,2' => array('Apple', 'iPhone 6', TYPE_MOBILE), 'iPod1,1' => array('Apple', 'iPod touch', TYPE_MEDIA), 'iPod2,1' => array('Apple', 'iPod touch (2nd gen)', TYPE_MEDIA), 'iPod3,1' => array('Apple', 'iPod touch (3rd gen)', TYPE_MEDIA), 'iPod4,1' => array('Apple', 'iPod touch (4th gen)', TYPE_MEDIA), 'iPod5,1' => array('Apple', 'iPod touch (5th gen)', TYPE_MEDIA), 'iPad1,1' => array('Apple', 'iPad', TYPE_TABLET), 'iPad1,2' => array('Apple', 'iPad 2', TYPE_TABLET), 'iPad2,1' => array('Apple', 'iPad 2', TYPE_TABLET), 'iPad2,2' => array('Apple', 'iPad 2', TYPE_TABLET), 'iPad2,3' => array('Apple', 'iPad 2', TYPE_TABLET), 'iPad2,4' => array('Apple', 'iPad 2', TYPE_TABLET), 'iPad2,5' => array('Apple', 'iPad mini', TYPE_TABLET), 'iPad2,6' => array('Apple', 'iPad mini', TYPE_TABLET), 'iPad2,7' => array('Apple', 'iPad mini', TYPE_TABLET), 'iPad3,1' => array('Apple', 'iPad (3rd gen)', TYPE_TABLET), 'iPad3,2' => array('Apple', 'iPad (3rd gen)', TYPE_TABLET), 'iPad3,3' => array('Apple', 'iPad (3rd gen)', TYPE_TABLET), 'iPad3,4' => array('Apple', 'iPad (4th gen)', TYPE_TABLET), 'iPad3,5' => array('Apple', 'iPad (4th gen)', TYPE_TABLET), 'iPad3,6' => array('Apple', 'iPad (4th gen)', TYPE_TABLET), 'iPad4,1' => array('Apple', 'iPad Air', TYPE_TABLET), 'iPad4,2' => array('Apple', 'iPad Air', TYPE_TABLET), 'iPad4,3' => array('Apple', 'iPad Air', TYPE_TABLET), 'iPad4,4' => array('Apple', 'iPad mini 2', TYPE_TABLET), 'iPad4,5' => array('Apple', 'iPad mini 2', TYPE_TABLET), 'iPad4,6' => array('Apple', 'iPad mini 2', TYPE_TABLET), 'iPad4,7' => array('Apple', 'iPad mini 3', TYPE_TABLET), 'iPad4,8' => array('Apple', 'iPad mini 3', TYPE_TABLET), 'iPad5,3' => array('Apple', 'iPad Air 2', TYPE_TABLET), 'iPad5,4' => array('Apple', 'iPad Air 2', TYPE_TABLET));
开发者ID:nagyist,项目名称:extension-tao-clientdiag,代码行数:3,代码来源:models-ios.php


注:本文中的DeviceModels::IOS_MODELS方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。