src/XML/WDDX/FileWriter.php
public static function save( $fileName, $data, $packetName = NULL )
	{
		if( $packetName === NULL )
			$wddx	= wddx_serialize_value( $data );
		else
			$wddx	= wddx_serialize_value( $data, $packetName );
		return FS_File_Writer::save( $fileName, $wddx );
	}
public static function save( $fileName, $data, $packetName = NULL )
	{
		if( $packetName === NULL )
			$wddx	= wddx_serialize_value( $data );
		else
			$wddx	= wddx_serialize_value( $data, $packetName );
		return FS_File_Writer::save( $fileName, $wddx );
	}
public static function save ( $ fileName , $ data , $ packetName = NULL ) { if ( $ packetName === NULL ) $ wddx = wddx_serialize_value ( $ data ) ; else $ wddx = wddx_serialize_value ( $ data , $ packetName ) ; return FS_File_Writer :: save ( $ fileName , $ wddx ) ; }
Writes Data into a WDDX File statically.
@access		public
@static
@param		string		$fileName		File Name of WDDX File
@param		array		$data			Array of Packet Data
@param		string		$packetName		Packet Name
@return		int
Writes Data into a WDDX File statically .