PerfMigrate.groupe_update.inc 585 B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * PerfGroupeNodeMigration
  4. *
  5. */
  6. class PerfGroupeNodeUpdateMigration extends PerfBasicUpdateMigration {
  7. public function __construct() {
  8. $this->item_xpath = '/RACINE/ARBRE/INITIALE/GROUPE/PERFORMANCE'; // relative to document
  9. parent::__construct();
  10. $this->description = t('XML feed of groupe of performances');
  11. // $this->dependencies = array('WineRegion', 'WineUser');
  12. $this->addFieldMapping('nid', 'treeline_id')
  13. ->sourceMigration('PerfGroupeNode');
  14. }
  15. // public function prepareRow($row){
  16. // parent::prepareRow($row);
  17. // }
  18. }