Commit Graph

55 Commits

Author SHA1 Message Date
Gregory Oschwald
04ccb67cea Fix for hhvm difference 2014-06-18 10:37:21 -07:00
Gregory Oschwald
cdf75ec505 Expanded examples plus small bug fix 2014-06-17 10:16:14 -07:00
Gregory Oschwald
22babda1c9 Added Connection-Type, Domain, and ISP databases 2014-06-17 09:29:14 -07:00
Gregory Oschwald
7b0f8ca0c0 Make validAttributes private 2013-12-02 10:04:30 -08:00
Gregory Oschwald
fbbe2dba24 Fix isset for models/records 2013-12-02 10:02:37 -08:00
Gregory Oschwald
6d21d5682a Add default value for locales in model/record constructors 2013-10-30 08:58:01 -07:00
Gregory Oschwald
569043cb8f Implemented JsonSerializable interface for models/records 2013-10-26 14:13:56 -07:00
Gregory Oschwald
e03b9558a9 Tidying and doc fixes 2013-10-21 06:18:12 -07:00
Gregory Oschwald
234dcaff7c Renamed languages to locales in the code 2013-10-17 12:58:21 -07:00
Gregory Oschwald
b8188bc558 language code -> locale code 2013-10-17 10:28:31 -07:00
Gregory Oschwald
8f3331002a Merge branch 'unused-imports' of github.com:BenMorel/GeoIP2-php into BenMorel-unused-imports 2013-10-16 10:43:47 -07:00
Benjamin Morel
b4b0341307 Fixed typo in exception names 2013-10-16 17:33:29 +00:00
Benjamin Morel
ee00329652 Removed unused imports 2013-10-16 17:30:18 +00:00
Gregory Oschwald
167433de0c Added iterface for Reader/Client.
It could use a better name.
2013-10-02 06:54:03 -07:00
Gregory Oschwald
decfda7e90 Added missing documentation on $languages param 2013-08-02 13:34:53 -07:00
Gregory Oschwald
1d1dcec74c Added missing method documentation 2013-07-16 09:48:45 -07:00
Gregory Oschwald
b55d42b5cd Documentation updates 2013-07-16 09:21:08 -07:00
Gregory Oschwald
044ca4d085 Added specific exceptions for the different types of errors. 2013-07-16 07:46:50 -07:00
Gregory Oschwald
59a51ef34d Tests for the reader 2013-07-15 15:52:07 -07:00
Gregory Oschwald
3e0fc2a837 Basic GeoIP2 database reader 2013-07-15 15:06:51 -07:00
Gregory Oschwald
aa88c3040f Fixed a couple of incorrect case changes 2013-07-10 15:35:09 -07:00
Gregory Oschwald
e60181f13a Rename GeoIP2 => GeoIp2 for consistency 2013-07-10 15:24:40 -07:00
Olaf Alders
6f85654820 s/associated the IP/associated with the IP/ 2013-05-29 16:36:25 -04:00
Olaf Alders
fc74279d11 s/block in/block/ 2013-05-29 15:55:55 -04:00
Gregory Oschwald
750c23fb5c Fixed space issue 2013-05-21 13:56:00 -07:00
Gregory Oschwald
e0baddaec0 Added queriesRemaining 2013-05-21 13:46:11 -07:00
Gregory Oschwald
89f1bbdb65 Switched continent_code to code 2013-05-21 13:28:37 -07:00
Gregory Oschwald
b179e29ee7 Rename GenericException to GeoIP2Exception 2013-05-20 15:42:52 -07:00
Gregory Oschwald
73d6f15823 Get rid of references to "Precision" 2013-05-20 15:38:21 -07:00
Gregory Oschwald
04629e039b Added missing isSatelliteProvider 2013-05-20 11:37:32 -07:00
Gregory Oschwald
f44db25129 Fixed typo 2013-05-20 11:03:38 -07:00
Gregory Oschwald
58673466c0 Webservice => WebService 2013-05-13 10:29:28 -07:00
Gregory Oschwald
13b5a166bb Added some usage text to the API docs too 2013-05-10 13:11:48 -07:00
Gregory Oschwald
694195fedf Added basic docs for the API 2013-05-10 10:47:11 -07:00
Gregory Oschwald
8922b3a164 Basic docs for Client 2013-05-10 08:30:40 -07:00
Gregory Oschwald
84743398c5 Fixed formating 2013-05-09 15:23:37 -07:00
Gregory Oschwald
ec116a2c29 Added missing ability to set host 2013-05-09 15:22:11 -07:00
Gregory Oschwald
ed6166f934 Updated code to follow the PSR-2 style guidelines. 2013-05-09 07:29:29 -07:00
Gregory Oschwald
07913c02f4 Added tests for Country model 2013-05-08 15:23:28 -07:00
Gregory Oschwald
851925b2d6 Webservice client unit tests and fixes for bugs discovered while creating them 2013-05-08 14:42:13 -07:00
Gregory Oschwald
a4f6cf8ede Removed whitespace 2013-05-08 09:31:57 -07:00
Gregory Oschwald
00f274c617 Bug fixes 2013-05-08 09:14:19 -07:00
Gregory Oschwald
473435e221 Camel case for private functions and variables 2013-05-08 08:16:18 -07:00
Gregory Oschwald
5bebdce6e8 Use camel case for all trait attribute names 2013-05-08 08:12:09 -07:00
Gregory Oschwald
fc3e67969d Make 'name' a property rather than a function 2013-05-08 07:20:30 -07:00
Gregory Oschwald
275bda0fc4 Check attribute validity and return null on empty but valid attributes 2013-05-08 07:18:50 -07:00
Gregory Oschwald
45228dfad4 Added most of the attributes for the City model 2013-05-07 15:36:20 -07:00
Gregory Oschwald
01bf8c2d7c Add support for named records. Create all the objects for Country model 2013-05-07 15:02:53 -07:00
Gregory Oschwald
531e11f3e2 Started filling in Model and Record code 2013-05-07 14:23:19 -07:00
Gregory Oschwald
76a40bb2a1 Filled in Client code 2013-05-07 13:13:11 -07:00