This release should fix issues with character that could not be retrieved from the armory due to special characters in realm or character names, as reported by several users. There have been some minor tweaks to existing functions. Further details, the download it after the jump.
0.4.2 - “Fishing Extravaganza” - Dec 17, 2008
This release should fix issues with character that could not be retrieved from the armory due to special characters in realm or character names.
- phpArmory5Cache: the
setCachedData(…)function was called without prior checks if there was any valid data to cache. This has been fixed.
- phpArmory5: Strings used in URLs do not need a manual replacement of the space
urlencode()handles this for us already.
- phpArmory5: fixed an issue in
__construct, where required PHP extension have not been checked properly. Thanks to Gizzmo for the hint.
- phpArmory5: added
getAnyData($searchType = NULL, $objectName = NULL, $filter = NULL).
$searchTypecan be any of “arenateams”, “characters”, “guilds”, “items”.
$filterneeds to be an associative array of filter properties. For now, try out the armory item search page to see valid filter options.
- phpArmory5: added a third parameter to
getCharacterDatafor retrieving only the basic character data. Defaults to
false. Use the following to get basic character data only:
$character = $phpArmory->getCharacterData($characterName = "Char", $realmName = "Realm", $onlyBasicData = true)
Enjoy the 0.4.2 release, and either grab phparmory-0.4.2.zip or phparmory-0.4.2.tar.gz. Please note that all PHP files are formatted with Unix line endings, as I am mostly a Linux / Mac geek.
Feel free to leave a comment if you should end up having trouble with the classes.