This file needs a little update, the current cache setting we use its not needed (the items.xml file is not big enough to impact performance) and makes changing items.xml tedious as you need to reload the parser cache file manually.
This pull request changes the following:
Remove itemparser.php its not needed anymore
Remove item_list.txt
Update itemlistparser.php with the changes and a new method getItemById($id)
We no longer use ucfirst when creating the itemlist array. I think users should make use of this (or not).
Fix conversion from simpleXML objects to array elements (removing ilegal offset warnings).
This file needs a little update, the current cache setting we use its not needed (the items.xml file is not big enough to impact performance) and makes changing items.xml tedious as you need to reload the parser cache file manually.
This pull request changes the following:
getItemById($id)
ucfirst
when creating the itemlist array. I think users should make use of this (or not).