PerfMigrate.dmanu.inc 758 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. /**
  3. * PerfGroupeNodeMigration
  4. *
  5. */
  6. class PerfDmanuNodeMigration extends PerfDocsNodeMigration {
  7. public function __construct() {
  8. $this->description = t('Migrate 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('field_type')->defaultValue('manuscrit');
  14. // $this->addUnmigratedDestinations(array());
  15. }
  16. // public function prepareRow($row){
  17. // // $xml = $row->xml;
  18. // parent::prepareRow($row);
  19. //
  20. //
  21. // }
  22. public function prepare($node, stdClass $row) {
  23. parent::prepare($node, $row);
  24. // dsm($node);
  25. }
  26. }