src/FS/File/ICal/Builder.php
public function build( $tree )
	{
		$lines	= array();
		$children	= $tree->getChildren();
		foreach( $children as $child )
			foreach( self::buildRecursive( $child ) as $line )
				$lines[]	= $line;
		return implode( self::$lineBreak, $lines );
	}
public function build( $tree )
	{
		$lines	= array();
		$children	= $tree->getChildren();
		foreach( $children as $child )
			foreach( self::buildRecursive( $child ) as $line )
				$lines[]	= $line;
		return implode( self::$lineBreak, $lines );
	}
public function build ( $ tree ) { $ lines = array ( ) ; $ children = $ tree -> getChildren ( ) ; foreach ( $ children as $ child ) foreach ( self :: buildRecursive ( $ child ) as $ line ) $ lines [ ] = $ line ; return implode ( self :: $ lineBreak , $ lines ) ; }
Builds Array of iCal Lines from XML Tree.
@access		public
@param		XML_DOM_Node	$tree		XML Tree
@return 	array
Builds Array of iCal Lines from XML Tree .