PerfMigrate.dimp_update.inc 506 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * PerfGroupeNodeMigration
  4. *
  5. */
  6. class PerfDimpNodeUpdateMigration extends PerfDocsNodeUpdateMigration {
  7. public function __construct() {
  8. $this->description = t('Migrate Document Imprimé Update Class');
  9. $this->fields = array();
  10. $this->itemsfile = 'baseperf-dimps.xml';
  11. $this->item_xpath = '/ROOT/ITEMS/DOC_IMPRIME'; // relative to document
  12. parent::__construct();
  13. $this->addFieldMapping('nid', 'ID')
  14. ->sourceMigration('PerfDimpNode');
  15. }
  16. }