src/XML/OPML/Parser.php
protected function parseOutlines( $node, &$array )
	{
		$outlines = $node->getChildren();
		foreach( $outlines as $outline )
		{
			$data	= array();
			foreach( $outline->getAttributes() as $key => $value )
				$data[$key]	= $value;
			if( $outline->hasChildren() )
				$this->parseOutlines( $outline, $data['outlines'] );
			else
				$data['outlines']	= array();
			$array[]	= $data;
		}
	}
protected function parseOutlines( $node, &$array )
	{
		$outlines = $node->getChildren();
		foreach( $outlines as $outline )
		{
			$data	= array();
			foreach( $outline->getAttributes() as $key => $value )
				$data[$key]	= $value;
			if( $outline->hasChildren() )
				$this->parseOutlines( $outline, $data['outlines'] );
			else
				$data['outlines']	= array();
			$array[]	= $data;
		}
	}
protected function parseOutlines ( $ node , & $ array ) { $ outlines = $ node -> getChildren ( ) ; foreach ( $ outlines as $ outline ) { $ data = array ( ) ; foreach ( $ outline -> getAttributes ( ) as $ key => $ value ) $ data [ $ key ] = $ value ; if ( $ outline -> hasChildren ( ) ) $ this -> parseOutlines ( $ outline , $ data [ 'outlines' ] ) ; else $ data [ 'outlines' ] = array ( ) ; $ array [ ] = $ data ; } }
Parses Outlines recursive.
@access		protected
@return		void
Parses Outlines recursive .