src/XML/Parser.php
protected function handleTagOpenForArray( $parser, $tag, $attributes )
	{
		$count	= count( $this->last ) - 1;
		$this->last[$count][]	= array(
			"tag"			=> $tag,
			"attributes"	=> $attributes,
			"content"		=> '',
			"children"		=> array()
		);
		$index	= count( $this->last[$count] ) - 1;
		$this->last[]	= &$this->last[$count][$index]['children'];
	}
protected function handleTagOpenForArray( $parser, $tag, $attributes )
	{
		$count	= count( $this->last ) - 1;
		$this->last[$count][]	= array(
			"tag"			=> $tag,
			"attributes"	=> $attributes,
			"content"		=> '',
			"children"		=> array()
		);
		$index	= count( $this->last[$count] ) - 1;
		$this->last[]	= &$this->last[$count][$index]['children'];
	}
protected function handleTagOpenForArray ( $ parser , $ tag , $ attributes ) { $ count = count ( $ this -> last ) - 1 ; $ this -> last [ $ count ] [ ] = array ( "tag" => $ tag , "attributes" => $ attributes , "content" => '' , "children" => array ( ) ) ; $ index = count ( $ this -> last [ $ count ] ) - 1 ; $ this -> last [ ] = & $ this -> last [ $ count ] [ $ index ] [ 'children' ] ; }
Callback Method for opening Tags on Array Collection.
@access		protected
@param		resource	$parser		Resource of XML Parser
@param		string		$tag		Name of parsed Tag
@param		array		$attributes	Array of parsed Attributes
@return		void
Callback Method for opening Tags on Array Collection .