Class VFS_ISOWriter

Description

VFS API for abstracted creation of ISO (CD-ROM) filesystems.

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


	
			
Direct descendents
Class Description
 class VFS_ISOWriter_mkisofs Driver for using mkisofs for creating ISO images.
Variable Summary
Method Summary
 VFS_ISOWriter VFS_ISOWriter ( &$sourceVfs,  &$targetVfs, array $params)
 object A &factory (object &$sourceVfs, object &$targetVfs, array $params)
 mixed process ()
Variables
array $_params = array() (line 40)

Hash containing connection parameters.

VFS $_sourceVfs = null (line 26)

A VFS object used for reading the source files

VFS $_targetVfs = null (line 33)

A VFS object used for writing the ISO image

Methods
Constructor VFS_ISOWriter (line 47)

Constructs a new VFS_ISOWriter object

VFS_ISOWriter VFS_ISOWriter ( &$sourceVfs,  &$targetVfs, array $params)
  • array $params: A hash containing parameters.
  • &$sourceVfs
  • &$targetVfs
factory (line 88)

Attempt to create a concrete VFS_ISOWriter subclass.

This method uses its parameters and checks the system to determine the most appropriate subclass to use for building ISO images. If none is found, an error is raised.

  • return: newly created concrete VFS_ISOWriter subclass, or a PEAR_Error on an error.
object A &factory (object &$sourceVfs, object &$targetVfs, array $params)
  • object &$sourceVfs: Reference to the VFS object from which the files will be read to create the ISO image.
  • object &$targetVfs: Reference to the VFS object to which the ISO image will be written.
  • array $params: Hash of parameters for creating the image: 'sourceRoot' => A directory in the source VFS for files to be read from for the image. 'targetFile' => Path and filename of the ISO file to write into the target VFS.
process (line 61)

Create the ISO image

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

Redefined in descendants as:

Documentation generated on Sun, 30 Jan 2011 05:18:38 +0000 by phpDocumentor 1.4.3