first global commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* PerfGroupeNodeMigration
|
||||
*
|
||||
*/
|
||||
class PerfDpressNodeUpdateMigration extends PerfDocsNodeUpdateMigration {
|
||||
public function __construct() {
|
||||
|
||||
$this->description = t('Migrate Document Presse Class');
|
||||
|
||||
$this->fields = array();
|
||||
|
||||
$this->itemsfile = 'baseperf-dpress.xml';
|
||||
|
||||
$this->item_xpath = '/ROOT/ITEMS/DOC_PRESSE'; // relative to document
|
||||
|
||||
parent::__construct();
|
||||
|
||||
$this->addFieldMapping('nid', 'ID')
|
||||
->sourceMigration('PerfDpressNode');
|
||||
}
|
||||
|
||||
// public function prepareRow($row){
|
||||
// // $xml = $row->xml;
|
||||
// parent::prepareRow($row);
|
||||
//
|
||||
//
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user