GeezerVison is showing github.com — GitHub - iamsalnikov/MobileDetect: Расширение для Yii MobileDetect
Folders and files
| Name | Name | Last commit message | Last commit date |
|---|
| | | |
| | | |
| | | |
| | | |
|
Repository files navigation
MobileDetect Yii Extension
This Extension based on Mobile_Detect class writed by Serban Ghita and Victor Stanciu
In app config:
'components'=>array(
...
'mobileDetect' => array(
'class' => 'ext.MobileDetect.MobileDetect'
),
...
);
$detect = Yii::app()->mobileDetect;
// call methods
$detect->isMobile();
$detect->isTablet();
$detect->isIphone();
...
Class site
Class (GitHub)
Example
About
Расширение для Yii MobileDetect
Resources
Stars
33 stars
Watchers
3 watching
Forks