Class XMLRepositoryExporter

Description

Exports into XML for use with the XML Importer

  • version: $Id: XMLRepositoryExporter.class.php,v 1.13 2007/09/19 14:04:45 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: 10/17/05

Located in /polyphony/main/library/Exporter/XMLRepositoryExporter.class.php (line 27)

XMLExporter
   |
   --XMLRepositoryExporter
Method Summary
XMLRepositoryExporter XMLRepositoryExporter (object Archive_Tar 0, string 1)
void export (object HarmoniId $repId)
void exportAssets ()
void setupSelf ()
void withCompression (string $compression, [string $class = 'XMLRepositoryExporter'])
void withDir (string $tmpDir, [string $class = 'XMLRepositoryExporter'])
Methods
Constructor XMLRepositoryExporter (line 39)

Constructor

Maintains archive and repository directory.

  • since: 10/17/05
  • access: public
XMLRepositoryExporter XMLRepositoryExporter (object Archive_Tar 0, string 1)
  • object Archive_Tar 0
  • string 1
export (line 89)

Exporter of Repository things

  • since: 10/17/05
  • access: public
void export (object HarmoniId $repId)
  • object HarmoniId $repId
exportAssets (line 157)

Exporter of Assets

  • since: 10/17/05
  • access: public
void exportAssets ()
exportRecordstructures (line 141)

Exporter of recordstructures

Adds recordstructure elements to the xml, which contain the necessary information to create the same recordstructure.

  • since: 10/17/05
  • access: public
void exportRecordstructures ()
setupSelf (line 49)

Creates the child lists

  • since: 10/31/05
  • access: public
void setupSelf ()

Redefinition of:
XMLExporter::setupSelf()
Creates the child lists
withCompression (line 63)

Constructor for starting an export

  • since: 10/31/05
  • access: public
void withCompression (string $compression, [string $class = 'XMLRepositoryExporter'])
  • string $compression
  • string $class

Redefinition of:
XMLExporter::withCompression()
Initializes the export by creating a dir in /tmp/
withDir (line 75)

Constructor for in an export

  • since: 10/31/05
  • access: public
void withDir (string $tmpDir, [string $class = 'XMLRepositoryExporter'])
  • string $tmpDir
  • string $class

Inherited Methods

Inherited From XMLExporter

XMLExporter::XMLExporter()
XMLExporter::compressWithStatus()
XMLExporter::exportAll()
XMLExporter::exportRepositories()
XMLExporter::getTarKey()
XMLExporter::is_process_running()
XMLExporter::numFiles()
XMLExporter::run_in_background()
XMLExporter::setupSelf()
XMLExporter::setupXML()
XMLExporter::withCompression()

Documentation generated on Wed, 19 Sep 2007 10:28:46 -0400 by phpDocumentor 1.3.0RC3