You are here

function JSimpleXML::_getStackLocation in Ubercart 5

Gets the reference to the current direct parent

Return value

object

2 calls to JSimpleXML::_getStackLocation()
JSimpleXML::_characterData in uc_store/includes/simplexml.php
Handler function for the character data within a tag
JSimpleXML::_startElement in uc_store/includes/simplexml.php
Handler function for the start of a tag

File

uc_store/includes/simplexml.php, line 273

Class

JSimpleXML
SimpleXML implementation.

Code

function _getStackLocation() {
  $return = '';
  foreach ($this->_stack as $stack) {
    $return .= $stack . '->';
  }
  return rtrim($return, '->');
}