src/Net/Site/MapWriter.php
public static function save( $fileName, $urls, $mode = 0777 )
	{
		$builder	= new Net_Site_MapBuilder();
		$file		= new FS_File_Writer( $fileName, $mode );
		$xml		= $builder->build( $urls );
		return $file->writeString( $xml );
	}
public static function save( $fileName, $urls, $mode = 0777 )
	{
		$builder	= new Net_Site_MapBuilder();
		$file		= new FS_File_Writer( $fileName, $mode );
		$xml		= $builder->build( $urls );
		return $file->writeString( $xml );
	}
public static function save ( $ fileName , $ urls , $ mode = 0777 ) { $ builder = new Net_Site_MapBuilder ( ) ; $ file = new FS_File_Writer ( $ fileName , $ mode ) ; $ xml = $ builder -> build ( $ urls ) ; return $ file -> writeString ( $ xml ) ; }
Saves Sitemap for List of URLs statically.
@access		public
@static
@param		string		$fileName			File Name of Sitemap XML File
@param		array		$urls				List of URLs for Sitemap
@param		int			$mode				Right Mode
@return		int
Saves Sitemap for List of URLs statically .