src/XML/RSS/Writer.php
public static function save( $fileName, $channelData, $itemList, $encoding = "utf-8" )
	{
		$builder	= new XML_RSS_Builder();
		$builder->setChannelData( $channelData );
		$builder->setItemList( $itemList );
		$xml	= $builder->build( $encoding = "utf-8" );
		return FS_File_Writer::save( $fileName, $xml );
	}
public static function save( $fileName, $channelData, $itemList, $encoding = "utf-8" )
	{
		$builder	= new XML_RSS_Builder();
		$builder->setChannelData( $channelData );
		$builder->setItemList( $itemList );
		$xml	= $builder->build( $encoding = "utf-8" );
		return FS_File_Writer::save( $fileName, $xml );
	}
public static function save ( $ fileName , $ channelData , $ itemList , $ encoding = "utf-8" ) { $ builder = new XML_RSS_Builder ( ) ; $ builder -> setChannelData ( $ channelData ) ; $ builder -> setItemList ( $ itemList ) ; $ xml = $ builder -> build ( $ encoding = "utf-8" ) ; return FS_File_Writer :: save ( $ fileName , $ xml ) ; }
Writes RSS to a File statically and returns Number of written Bytes.
@access		public
@static
@param		string		$fileName	File Name of XML RSS File
@param		array		$array		Array of Channel Information Pairs
@param		array		$array		List of Item
@param		string		$encoding	Encoding Type
@return		int
Writes RSS to a File statically and returns Number of written Bytes .