PerfMigrate.dpresse_update.inc 634 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * PerfGroupeNodeMigration
  4. *
  5. */
  6. class PerfDpressNodeUpdateMigration extends PerfDocsNodeUpdateMigration {
  7. public function __construct() {
  8. $this->description = t('Migrate Document Presse Class');
  9. $this->fields = array();
  10. $this->itemsfile = 'baseperf-dpress.xml';
  11. $this->item_xpath = '/ROOT/ITEMS/DOC_PRESSE'; // relative to document
  12. parent::__construct();
  13. $this->addFieldMapping('nid', 'ID')
  14. ->sourceMigration('PerfDpressNode');
  15. }
  16. // public function prepareRow($row){
  17. // // $xml = $row->xml;
  18. // parent::prepareRow($row);
  19. //
  20. //
  21. // }
  22. }