src/UI/SVG/Chart.php
public function save( $fileName )
	{
		$svg	= $this->encapsulate( $this->content );
		$doc	= new DOMDocument();
		$doc->preserveWhiteSpace = false; 
		$doc->formatOutput = true;
		$doc->loadXml( $svg );
		$svg	= $doc->saveXml();
		return FS_File_Writer::save( $fileName, $svg );
	}
public function save( $fileName )
	{
		$svg	= $this->encapsulate( $this->content );
		$doc	= new DOMDocument();
		$doc->preserveWhiteSpace = false; 
		$doc->formatOutput = true;
		$doc->loadXml( $svg );
		$svg	= $doc->saveXml();
		return FS_File_Writer::save( $fileName, $svg );
	}
public function save ( $ fileName ) { $ svg = $ this -> encapsulate ( $ this -> content ) ; $ doc = new DOMDocument ( ) ; $ doc -> preserveWhiteSpace = false ; $ doc -> formatOutput = true ; $ doc -> loadXml ( $ svg ) ; $ svg = $ doc -> saveXml ( ) ; return FS_File_Writer :: save ( $ fileName , $ svg ) ; }
Saves SVG Graph to File.
@access		public
@param		string		$fileName		File to save to
@return		int
Saves SVG Graph to File .