You are here

function XMLParser::GetStackLocation in Asset 6

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

Gets the reference to the current direct parent

Return value

object

4 calls to XMLParser::GetStackLocation()
XMLParser::CharacterData in asset_youtube/xmlparser.class.php
Handler function for the character data within a tag
XMLParser::CharacterData in asset_youtube/inc/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
XMLParser::StartElement in asset_youtube/inc/xmlparser.class.php
Handler function for the start of a tag

File

asset_youtube/inc/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, '->');
}