03-15-2011, 08:53 PM
|
#142 (permalink)
|
|
The Contributor
Join Date: Sep 2007
Location: London, UK
Posts: 47
Thanks: 4
|
They allow the $XMLstream variable to access different tags in the xml page.
Assuming $XMLstream is assigned to the pull_xml() function from the class decleration variable.
So basically
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<characterInfo>
<character>Data</character>
</characterInfo>
$profile_xml->characterInfo->character would give "Data" or something like that. I've neither played wow, nor written php for a long time.
If I recall though, the armory no longer uses xml, it's now html and javascript, so the code no longer works..
|
|
|
|