MobileDetect

Расширение для Yii MobileDetect

Github星跟踪图

MobileDetect Yii Extension

This Extension based on Mobile_Detect class writed by Serban Ghita and Victor Stanciu

Install

In app config:

'components'=>array(
    ...

    'mobileDetect' => array(
        'class' => 'ext.MobileDetect.MobileDetect'
    ),
    
    ...
);

Usage

  $detect = Yii::app()->mobileDetect;
  // call methods
  $detect->isMobile();
  $detect->isTablet();
  $detect->isIphone();
  ...

Class site
Class (GitHub)
Example

主要指标

概览
名称与所有者iamsalnikov/MobileDetect
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证
所有者活动
创建于2013-01-16 01:41:30
推送于2016-09-20 16:02:29
最后一次提交2014-10-06 17:46:09
发布数1
最新版本名称2.8.4 (发布于 )
第一版名称2.8.4 (发布于 )
用户参与
星数34
关注者数3
派生数19
提交数17
已启用问题?
问题数1
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数1
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?