You are here

function XMLParser::GetStackLocation in Asset 5

Same name and namespace in other branches
  1. 6 asset_youtube/xmlparser.class.php \XMLParser::GetStackLocation()
  2. 6 asset_youtube/inc/xmlparser.class.php \XMLParser::GetStackLocation()

Gets the reference to the current direct parent

Return value

object

2 calls to XMLParser::GetStackLocation()
XMLParser::CharacterData in asset_youtube/xmlparser.class.php
Handler function for the character data within a tag
XMLParser::StartElement in asset_youtube/xmlparser.class.php
Handler function for the start of a tag

File

asset_youtube/xmlparser.class.php, line 121

Class

XMLParser
XML Parser Class (php4)

Code

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