since phpArmory seems to be pretty much lacking updates I have continued development since I use phpArmory for a few projects.
The updated version is released as phpArmory "Use soulstone", version 0.3. Again, this is just my own unofficial version. If the maintainers of this project are still active, I can also post patch files.
* Added: language support. You now can use the setLanguage ($language) and getLanguage() methods to set and retrieve the language in which you want to query armory data.
* Added: the characterIconURL method now has a matching sister for items, named itemIconURL($itemRef). E.g. if you have the icon name from a character item slot, you can pass that and receive the full URL to the matching icon in JPG format.
* Fixed: the xmlToArray method was not properly checking if a children of the XML object really was an array. Checks added, thus warning message gone.
=== phpArmoryCache.class.php ===
* Added: the phpArmoryCache class now has a new optional parameters for its’ constructur. Using $armory = new phpArmoryCache($armory = "http://www.wowarmory.com/", $dataStore = "mysql", $dataConn = "mysql://arthas:frostmourne@localhost/northrend", $dataTable = "frozen_throne"", $updateInterval = 14400) you can now define the MySQL connection settings instead of having to hack the PHP class to enter your settings.
* Fixed: XML caching will now work again.
* Fixed: corrected storing of MySQL results. The cacheSave() method was not properly checking if a XML result already was stored. Now old data will be updated in case it exists instead of giving back a duplicated key error.
I plan to continue upgrading and expanding phpArmory as I progress further with my other WoW related projects.
With kind regards,
Daniel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
since phpArmory seems to be pretty much lacking updates I have continued development since I use phpArmory for a few projects.
The updated version is released as phpArmory "Use soulstone", version 0.3. Again, this is just my own unofficial version. If the maintainers of this project are still active, I can also post patch files.
Updated files and the list of changes are available at my blog: http://www.marenkay.com/2008/04/30/phparmory-use-soulstone-03-released/
== ChangeLog ==
=== phpArmory.class.php ===
* Added: language support. You now can use the setLanguage ($language) and getLanguage() methods to set and retrieve the language in which you want to query armory data.
* Added: the characterIconURL method now has a matching sister for items, named itemIconURL($itemRef). E.g. if you have the icon name from a character item slot, you can pass that and receive the full URL to the matching icon in JPG format.
* Fixed: the xmlToArray method was not properly checking if a children of the XML object really was an array. Checks added, thus warning message gone.
=== phpArmoryCache.class.php ===
* Added: the phpArmoryCache class now has a new optional parameters for its’ constructur. Using $armory = new phpArmoryCache($armory = "http://www.wowarmory.com/", $dataStore = "mysql", $dataConn = "mysql://arthas:frostmourne@localhost/northrend", $dataTable = "frozen_throne"", $updateInterval = 14400) you can now define the MySQL connection settings instead of having to hack the PHP class to enter your settings.
* Fixed: XML caching will now work again.
* Fixed: corrected storing of MySQL results. The cacheSave() method was not properly checking if a XML result already was stored. Now old data will be updated in case it exists instead of giving back a duplicated key error.
I plan to continue upgrading and expanding phpArmory as I progress further with my other WoW related projects.
With kind regards,
Daniel