/** * Import file * * @param * @return */ function importFileObject($parent_id = null) { try { return parent::importFileObject(); } catch (ilManifestFileNotFoundImportException $e) { // since there is no manifest xml we assume that this is an HTML export file $this->createFromDirectory($e->getTmpDir()); } }
/** * Import * * @access public */ function importFile() { parent::importFileObject($this->parent_id); }