n ' . $match[1]; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->generic = false; } } } /* Panasonic POCKET・E */ private function detectPanasonicPocketE($ua) { if (preg_match('/Product\=Panasonic\/POCKET-E/ui', $ua, $match)) { $this->data->device->manufacturer = 'Panasonic'; $this->data->device->model = 'POCKET・E'; $this->data->device->type = Constants\DeviceType::PDA; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->generic = false; } } /* Fujitsu OASYS */ private function detectFujitsuOasys($ua) { if (preg_match('/Fujitsu; OASYS/ui', $ua, $match)) { $this->data->device->manufacturer = 'Fujitsu'; $this->data->device->model = 'OASYS'; $this->data->device->type = Constants\DeviceType::PDA; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->generic = false; if (preg_match('/eNavigator/ui', $ua, $match)) { $this->data->browser->name = 'eNavigator'; $this->data->browser->version = null; $this->data->browser->type = Constants\BrowserType::BROWSER; } } } /* PetitWeb */ private function detectNttPetitWeb($ua) { if (preg_match('/Product\=NTT\/(PI-[0-9]+)/ui', $ua, $match)) { $this->data->device->manufacturer = 'NTT'; $this->data->device->model = 'PetitWeb ' . $match[1]; $this->data->device->type = Constants\DeviceType::PDA; $this->data->device->identified |= Constants\Id::MATCH_UA; $this->data->device->generic = false; } } }