src/XML/DOM/ObjectFileSerializer.php
public static function serialize( $object, $fileName )
	{
		$serial	= parent::serialize( $object );
		$file	= new FS_File_Writer( $fileName );
		return $file->writeString( $serial );
	}
public static function serialize( $object, $fileName )
	{
		$serial	= parent::serialize( $object );
		$file	= new FS_File_Writer( $fileName );
		return $file->writeString( $serial );
	}
public static function serialize ( $ object , $ fileName ) { $ serial = parent :: serialize ( $ object ) ; $ file = new FS_File_Writer ( $ fileName ) ; return $ file -> writeString ( $ serial ) ; }
Writes XML String from an Object to a File.
@access		public
@static
@param		mixed		$object			Object to serialize
@param		string		$fileName		XML File to write to
@return		void
Writes XML String from an Object to a File .