Class VFS_ISOWriter_RealOutputStrategy

Description

Encapsulate strategies for ability to write output to real file.

$Horde: framework/VFS_ISOWriter/ISOWriter/RealOutputStrategy.php,v 1.1.8.11 2009/01/06 15:23:48 jan Exp $

Copyright 2004-2009 The Horde Project (http://www.horde.org/)

See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.

Located in /VFS_ISOWriter/ISOWriter/RealOutputStrategy.php (line 16)


	
			
Direct descendents
Class Description
 class VFS_ISOWriter_RealOutputStrategy_copy Strategy for writing file to temporary directory, then copying to VFS.
 class VFS_ISOWriter_RealOutputStrategy_direct Strategy for directly writing output file to VFS.
Variable Summary
Method Summary
 VFS_ISOWriter_RealOutputStrategy VFS_ISOWriter_RealOutputStrategy (object &$targetVfs, string $targetFile)
 object A &factory (object &$targetVfs, string $targetFile)
 mixed finished ()
 string getRealFilename ()
Variables
string $_targetFile (line 30)

Where to store the file in the VFS.

VFS $_targetVfs (line 23)

The VFS to which we will write the file.

Methods
Constructor VFS_ISOWriter_RealOutputStrategy (line 39)

Constructor

VFS_ISOWriter_RealOutputStrategy VFS_ISOWriter_RealOutputStrategy (object &$targetVfs, string $targetFile)
  • object &$targetVfs: The VFS to which we will write the file.
  • string $targetFile: The path and name of file to write.
factory (line 55)

Select and create a concrete strategy for using a real output file.

  • return: concrete output strategy object or PEAR_Error on failure.
object A &factory (object &$targetVfs, string $targetFile)
  • object &$targetVfs: The VFS to which we will write the result.
  • string $targetFile: The path and filename of the target file within the VFS.
finished (line 92)

Indicate that we're done writing to the real file.

  • return: Null or PEAR_Error on failure.
  • abstract:
mixed finished ()

Redefined in descendants as:
getRealFilename (line 81)

Get a real filesystem filename we can write to.

  • return: The filename or PEAR_Error on failure.
  • abstract:
string getRealFilename ()

Redefined in descendants as:

Documentation generated on Sun, 30 Jan 2011 05:20:47 +0000 by phpDocumentor 1.4.3