public function __construct(Di $oDi, $aConfig, JobQueueEntity $oJobQueueEntity)
 {
     parent::__construct($oDi);
     $this->sXMLExportPath = $aConfig['path.xml.export'];
     $this->sMwImporterPath = $aConfig['path.mw.importer'];
     $this->sProcess = 'import_mw';
     $this->sPreviousProcess = 'export';
     $this->oJobQueueEntity = $oJobQueueEntity;
     $this->iJobQueueId = $oJobQueueEntity->getId();
 }
 public function __construct(Di $oDi, $aConfig, JobQueueEntity $oJobQueueEntity)
 {
     parent::__construct($oDi);
     $this->sXMLExportPath = $aConfig['path.xml.export'];
     $this->sArchivePath = $aConfig['path.archive'];
     $this->oMapper = $oDi->get('Classes\\Mappers\\JobItemsToMwXml');
     $this->sProcess = 'export';
     $this->sPreviousProcess = 'slice';
     $this->iJobQueueId = $oJobQueueEntity->getId();
 }
 public function __construct(Di $oDi, $aConfig, JobQueueEntity $oJobQueueEntity)
 {
     parent::__construct($oDi);
     $this->oJobQueueEntity = $oJobQueueEntity;
     /* @var MediaWikiDb */
     $this->oMediaWikiDb = $oDi->get('Classes\\Db\\MediaWiki');
     $this->sProcess = 'verify';
     $this->sPreviousProcess = 'import_mw';
     $this->sPagePrefix = $aConfig['page.prefix'];
     $this->iJobQueueId = $oJobQueueEntity->getId();
 }
 public function __construct(Di $oDi, $aConfig, JobQueueEntity $oJobQueueEntity)
 {
     parent::__construct($oDi);
     $this->sProcess = 'archive';
     $this->sPreviousProcess = 'verify';
     $this->sArchivePath = $aConfig['path.archive'];
     $this->sXMLExportPath = $aConfig['path.xml.export'];
     $this->sImageImportPath = $aConfig['path.image.import'];
     $this->sBoxPrefix = $aConfig['box.prefix'];
     $this->sTokenSeperator = $aConfig['tokenseperator'];
     $this->oJobQueueEntity = $oJobQueueEntity;
     $this->iJobQueueId = $oJobQueueEntity->getId();
 }
 public function __construct(Di $oDi, $aConfig)
 {
     parent::__construct($oDi);
     $this->sProcess = 'initiate_jobs';
     if (!array_key_exists('path.image.import', $aConfig) or empty($aConfig['path.image.import'])) {
         throw new ImporterException('path.image.import is missing or not configured in config.ini.php ');
     }
     $this->sImageImportPath = $aConfig['path.image.import'];
     if (!array_key_exists('box.prefix', $aConfig) or empty($aConfig['box.prefix'])) {
         throw new ImporterException('box.prefix is missing or not configured in config.ini.php ');
     }
     $this->sBoxPrefix = $aConfig['box.prefix'];
 }
 public function __construct(Di $oDi, CsvRowToFolioEntity $oCsvRowToFolioEntityMapper, $aConfig, JobQueueEntity $oJobQueueEntity)
 {
     parent::__construct($oDi);
     $this->oCsvRowToFolioEntityMapper = $oCsvRowToFolioEntityMapper;
     $this->sCsvFilePath = $aConfig['path.csv.import'];
     $this->sImageImportPath = $aConfig['path.image.import'];
     $this->sArchivePath = $aConfig['path.archive'];
     $this->sBoxPrefix = $aConfig['box.prefix'];
     $this->sRegexBox = $aConfig['regex.box'];
     $this->sRegexFolio = $aConfig['regex.folio'];
     $this->sRegexItem = $aConfig['regex.item'];
     $this->sBoxLimit = $aConfig['import_box_limit'];
     $this->sTokenSeperator = $aConfig['tokenseperator'];
     $this->iJobQueueId = $oJobQueueEntity->getId();
     $this->oBoxEntity = new BoxEntity();
     $this->oFolioEntity = new FolioEntity();
     $this->oItemEntity = new ItemEntity();
     $this->sProcess = 'import';
     $this->oJobQueueEntity = $oJobQueueEntity;
     $this->iJobQueueId = $oJobQueueEntity->getId();
     $this->sRegex = '/(' . $this->sRegexBox . ')' . $this->sTokenSeperator . '(' . $this->sRegexFolio . ')' . $this->sTokenSeperator . '(' . $this->sRegexItem . ')' . '.jpg' . '/';
 }