There is an array
UnboundedElementsIterator Object ( [xmlList:protected] => SimpleXMLElement Object ( [@attributes] => Array ( [Sign] => смн [Code] => TJS ) [0] => 43 ) [elementsType:protected] => Array ( [type] => complexType [name] => OtapiMoney ) [position:UnboundedElementsIterator:private] => 0 ) $res = $item->GetMoney(); I want to display the value 43 , but it does not work. I do this:
print_r($res[0]);
public function __construct($xmlList, $elementsType){ $this->xmlList = $xmlList; $this->elementsType = $elementsType; $this->position = 0; }public function __construct($xmlList, $elementsType){ $this->xmlList = $xmlList; $this->elementsType = $elementsType; $this->position = 0; }public function __construct($xmlList, $elementsType){ $this->xmlList = $xmlList; $this->elementsType = $elementsType; $this->position = 0; }how to transfer the object correctly if the data is stored here$res = $item->GetMoney()- mega94var_dump(get_class_methods(get_class($res)))? - E_p