Author: david
Date: Thu Oct 8 14:07:37 2009
New Revision: 3697
Log:
Add name access point term when migrating pre-1.0.8 data.
Modified:
trunk/lib/task/migrate/QubitMigrate107to108.class.php
Modified: trunk/lib/task/migrate/QubitMigrate107to108.class.php
==============================================================================
--- trunk/lib/task/migrate/QubitMigrate107to108.class.php Thu Oct 8
13:55:24 2009 (r3696)
+++ trunk/lib/task/migrate/QubitMigrate107to108.class.php Thu Oct 8
14:07:37 2009 (r3697)
@@ -926,6 +926,25 @@
$this->data['QubitTerm'][$termSubseriesKey]['name']['en'] = 'Subseries';
}
+ // Add name access point term
+ $this->data['QubitTerm']['QubitTerm_name_access_point'] = array(
+ 'taxonomy_id' => '<?php echo QubitTaxonomy::RELATION_TYPE_ID."\n" ?>',
+ 'parent_id' => '<?php echo QubitTerm::ROOT_ID."\n" ?>',
+ 'id' => '<?php echo QubitTerm::NAME_ACCESS_POINT_ID."\n" ?>',
+ 'source_culture' => 'en',
+ 'name' => array(
+ 'de' => 'Zugriffspunkt (Name)',
+ 'en' => 'name access points',
+ 'es' => 'nombre de los puntos de acceso',
+ 'fa' => 'دسترسي از طريق نام',
+ 'fr' => 'points d\'accès noms',
+ 'it' => 'punti di accesso per nome',
+ 'nl' => 'naam ontsluitingsterm',
+ 'pt' => 'ponto de acesso - nome',
+ 'sl' => 'ime vhodne točke'
+ )
+ );
+
return $this;
}
@@ -1014,7 +1033,9 @@
'STATUS_TYPE_PUBLICATION_ID',
// Publication status taxonomy
'PUBLICATION_STATUS_DRAFT_ID',
- 'PUBLICATION_STATUS_PUBLISHED_ID'
+ 'PUBLICATION_STATUS_PUBLISHED_ID',
+ // Name access point
+ 'NAME_ACCESS_POINT_ID'
);
// Restack array with Constant values at top
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---