Lines Matching refs:record

104 record in the database. This model in turn contains multiple container
108 If the record is not found, a `\GeoIp2\Exception\AddressNotFoundException`
127 $record = $reader->city('128.101.101.101');
129 print($record->country->isoCode . "\n"); // 'US'
130 print($record->country->name . "\n"); // 'United States'
131 print($record->country->names['zh-CN'] . "\n"); // '美国'
133 print($record->mostSpecificSubdivision->name . "\n"); // 'Minnesota'
134 print($record->mostSpecificSubdivision->isoCode . "\n"); // 'MN'
136 print($record->city->name . "\n"); // 'Minneapolis'
138 print($record->postal->code . "\n"); // '55455'
140 print($record->location->latitude . "\n"); // 44.9733
141 print($record->location->longitude . "\n"); // -93.2323
156 $record = $reader->anonymousIp('128.101.101.101');
158 if ($record->isAnonymous) { print "anon\n"; }
159 print($record->ipAddress . "\n"); // '128.101.101.101'
174 $record = $reader->connectionType('128.101.101.101');
176 print($record->connectionType . "\n"); // 'Corporate'
177 print($record->ipAddress . "\n"); // '128.101.101.101'
192 $record = $reader->domain('128.101.101.101');
194 print($record->domain . "\n"); // 'umn.edu'
195 print($record->ipAddress . "\n"); // '128.101.101.101'
211 $record = $reader->enterprise('128.101.101.101');
213 print($record->country->confidence . "\n"); // 99
214 print($record->country->isoCode . "\n"); // 'US'
215 print($record->country->name . "\n"); // 'United States'
216 print($record->country->names['zh-CN'] . "\n"); // '美国'
218 print($record->mostSpecificSubdivision->confidence . "\n"); // 77
219 print($record->mostSpecificSubdivision->name . "\n"); // 'Minnesota'
220 print($record->mostSpecificSubdivision->isoCode . "\n"); // 'MN'
222 print($record->city->confidence . "\n"); // 60
223 print($record->city->name . "\n"); // 'Minneapolis'
225 print($record->postal->code . "\n"); // '55455'
227 print($record->location->accuracyRadius . "\n"); // 50
228 print($record->location->latitude . "\n"); // 44.9733
229 print($record->location->longitude . "\n"); // -93.2323
244 $record = $reader->isp('128.101.101.101');
246 print($record->autonomousSystemNumber . "\n"); // 217
247 print($record->autonomousSystemOrganization . "\n"); // 'University of Minnesota'
248 print($record->isp . "\n"); // 'University of Minnesota'
249 print($record->organization . "\n"); // 'University of Minnesota'
251 print($record->ipAddress . "\n"); // '128.101.101.101'
265 point you called. This model in turn contains multiple record classes, each of
286 $record = $client->city('128.101.101.101');
288 print($record->country->isoCode . "\n"); // 'US'
289 print($record->country->name . "\n"); // 'United States'
290 print($record->country->names['zh-CN'] . "\n"); // '美国'
292 print($record->mostSpecificSubdivision->name . "\n"); // 'Minnesota'
293 print($record->mostSpecificSubdivision->isoCode . "\n"); // 'MN'
295 print($record->city->name . "\n"); // 'Minneapolis'
297 print($record->postal->code . "\n"); // '55455'
299 print($record->location->latitude . "\n"); // 44.9733
300 print($record->location->longitude . "\n"); // -93.2323
325 Because of these factors, it is possible for any end point to return a record
333 attribute in the `GeoIp2\Record\Traits` record.