Class XMLAssetExporter

Description

Exports into XML for use with the XML Importer

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

Located in /polyphony/main/library/Exporter/XMLAssetExporter.class.php (line 28)

XMLExporter
   |
   --XMLAssetExporter
Method Summary
XMLAssetExporter XMLAssetExporter ()
void buildRSList (object HarmoniAsset $asset, mixed $idListRS, array $listOfRS)
void export (object HarmoniAsset $asset)
void exportAssets ()
string exportList (array $idList)
void exportRecords ()
void setupSelf ()
void withCompression (string $compression, [string $class = 'XMLAssetExporter'])
void withDir (mixed $xmlFile, mixed $fileDir)
Methods
Constructor XMLAssetExporter (line 36)

Constructor

  • since: 10/17/05
  • access: public
XMLAssetExporter XMLAssetExporter ()
buildRSList (line 179)

Builds a list of the necessary record structures to ex/import the asset

  • since: 12/13/05
  • access: public
void buildRSList (object HarmoniAsset $asset, mixed $idListRS, array $listOfRS)
  • object HarmoniAsset $asset: an asset that is being exporter
  • array $listOfRS: an array of all the necessary RecordStructures1
export (line 88)

Exporter of Asset things

  • since: 10/17/05
  • access: public
void export (object HarmoniAsset $asset)
  • object HarmoniAsset $asset
exportAssets (line 237)

Exporter of child Assets

  • since: 10/17/05
  • access: public
void exportAssets ()
exportList (line 126)

Exporter of a list of assets, for selective asset exporting

  • return: is the directory where all the data is written
  • since: 12/13/05
  • access: public
string exportList (array $idList)
  • array $idList: a list of asset id's
exportRecords (line 210)

Exporter of records

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

  • since: 10/17/05
  • access: public
void exportRecords ()
setupSelf (line 46)

Creates the child lists

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

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

Constructor for starting an export

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

Redefinition of:
XMLExporter::withCompression()
Initializes the export by creating a dir in /tmp/
withDir (line 73)
void withDir (mixed $xmlFile, mixed $fileDir)

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:29 -0400 by phpDocumentor 1.3.0RC3