���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/tie.cx/vendor/whichbrowser/parser/src/Analyser/Header/Useragent/Device/Phone.php
���ѧ٧ѧ�
<?php namespace WhichBrowser\Analyser\Header\Useragent\Device; use WhichBrowser\Constants; use WhichBrowser\Data; use WhichBrowser\Model\Version; trait Phone { private function detectPhone($ua) { $this->detectNttTeless($ua); $this->detectSnom($ua); } /* NTT Teless */ private function detectNttTeless($ua) { if (preg_match('/Product\=NTT\/Teless/ui', $ua, $match)) { $this->data->device->manufacturer = 'NTT'; $this->data->device->model = 'Teless'; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->type = Constants\DeviceType::MOBILE; $this->data->device->subtype = Constants\DeviceSubType::DESKTOP; } } /* SNOM */ private function detectSnom($ua) { if (preg_match('/snom(.+)-SIP/ui', $ua, $match)) { $this->data->device->manufacturer = 'SNOM'; $this->data->device->model = $match[1] . ' IP Telephone'; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->type = Constants\DeviceType::MOBILE; $this->data->device->subtype = Constants\DeviceSubType::DESKTOP; } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.8 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�