Class VFS_ISOWriter_RealInputStrategy

Description

Encapsulate strategies for getting a real, local filesystem structure from a VFS.

$Horde: framework/VFS_ISOWriter/ISOWriter/RealInputStrategy.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/RealInputStrategy.php (line 17)


	
			
Direct descendents
Class Description
 class VFS_ISOWriter_RealInputStrategy_copy Strategy for copying input tree out of a VFS
 class VFS_ISOWriter_RealInputStrategy_direct Strategy for directly accessing input tree in a 'file' VFS
Variable Summary
Method Summary
 static object A &factory (object &$sourceVfs, string $sourceRoot)
 VFS_ISOWriter_RealInputStrategy VFS_ISOWriter_RealInputStrategy ( &$sourceVfs,  $sourceRoot)
 mixed finished ()
 mixed getRealPath ()
Variables
string $_sourceRoot (line 31)

The root directory within the source VFS

VFS $_sourceVfs = null (line 24)

A reference to the source VFS we want to read.

Methods
static factory (line 71)

Decide which strategy to use to get a real FS and create it.

  • return: concrete strategy or PEAR_Error if no strategy is available.
static object A &factory (object &$sourceVfs, string $sourceRoot)
  • object &$sourceVfs: The VFS we want to read from.
  • string $sourceRoot: The root directory in that VFS.
Constructor VFS_ISOWriter_RealInputStrategy (line 33)
VFS_ISOWriter_RealInputStrategy VFS_ISOWriter_RealInputStrategy ( &$sourceVfs,  $sourceRoot)
  • &$sourceVfs
  • $sourceRoot
finished (line 56)

Indicate we are finished with this input strategy.

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

Redefined in descendants as:
getRealPath (line 45)

Get a real path to the input tree.

  • return: A string with the real path, or PEAR_Error on failure.
  • abstract:
mixed getRealPath ()

Redefined in descendants as:

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