PerfMigrate.dmanu_update.inc 511 B

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