/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.presentation_type " . $detail->get("presentation_type"); foreach ($import_item->getVar('creator') as $creator) { $text .= "\ndetail.creator " . $creator->get('creator'); } $text .= "\ndetail.use_cc " . $detail->get("use_cc"); $text .= "\ndetail.cc_commercial_use " . $detail->get("cc_commercial_use"); $text .= "\ndetail.cc_modification " . $detail->get("cc_modification"); $text .= "\ndetail.rights " . mb_ereg_replace('\\n', '\\n', mb_ereg_replace('\\\\', '\\\\', $detail->get('rights', 'n'))); $text .= "\ndetail.readme " . mb_ereg_replace('\\n', '\\n', mb_ereg_replace('\\\\', '\\\\', $detail->get('readme', 'n'))); $text .= "\ndetail.attachment_dl_limit " . $detail->get("attachment_dl_limit"); $text .= "\ndetail.attachment_dl_notify " . $detail->get("attachment_dl_notify"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.model_type " . $detail->get("model_type"); foreach ($detail->getCreators() as $creator) { $text .= "\ndetail.creator " . $creator->get('creator'); } $text .= "\ndetail.readme " . $detail->get("readme"); $text .= "\ndetail.rights " . $detail->get("rights"); $text .= "\ndetail.use_cc " . $detail->get("use_cc"); $text .= "\ndetail.cc_commercial_use " . $detail->get("cc_commercial_use"); $text .= "\ndetail.cc_modification " . $detail->get("cc_modification"); $text .= "\ndetail.attachment_dl_limit " . $detail->get("attachment_dl_limit"); $text .= "\ndetail.attachment_dl_notify " . $detail->get("attachment_dl_notify"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $author_handler =& xoonips_getormhandler('xnpbook', 'author'); $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $authors =& $import_item->getVar('author'); foreach ($authors as $author) { $text .= "\ndetail.author " . $author->get("author"); } $text .= "\ndetail.editor " . $detail->get("editor"); $text .= "\ndetail.publisher " . $detail->get("publisher"); $text .= "\ndetail.isbn " . $detail->get("isbn"); $text .= "\ndetail.url " . $detail->get("url"); $text .= "\ndetail.attachment_dl_limit " . $detail->get("attachment_dl_limit"); $text .= "\ndetail.attachment_dl_notify " . $detail->get("attachment_dl_notify"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.url " . $detail->get("url"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); foreach ($import_item->getVar('author') as $author) { $text .= "\ndetail.author " . $author->get('author'); } $text .= "\ndetail.journal " . $detail->get("journal"); $text .= "\ndetail.volume " . $detail->get("volume"); $text .= "\ndetail.number " . $detail->get("number"); $text .= "\ndetail.page " . $detail->get("page"); $text .= "\ndetail.abstract " . mb_ereg_replace('\\n', '\\n', mb_ereg_replace('\\\\', '\\\\', $detail->get("abstract"))); $text .= "\ndetail.pubmed_id " . $detail->get("pubmed_id"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); foreach ($import_item->getVar('binder_item_links') as $link) { $text .= "\ndetail.binder_item_link " . $link->get('item_id'); } return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.data_type " . $detail->get('data_type', 'n'); foreach ($import_item->getVar('experimenter') as $experimenter) { $text .= "\ndetail.experimenter " . $experimenter->get('experimenter'); } $text .= "\ndetail.readme " . mb_ereg_replace('\\n', '\\n', mb_ereg_replace('\\\\', '\\\\', $detail->get('readme', 'n'))); $text .= "\ndetail.rights " . mb_ereg_replace('\\n', '\\n', mb_ereg_replace('\\\\', '\\\\', $detail->get('rights', 'n'))); $text .= "\ndetail.use_cc " . $detail->get('use_cc', 'n'); $text .= "\ndetail.cc_commercial_use " . $detail->get('cc_commercial_use', 'n'); $text .= "\ndetail.cc_modification " . $detail->get('cc_modification', 'n'); $text .= "\ndetail.attachment_dl_limit " . $detail->get('attachment_dl_limit', 'n'); $text .= "\ndetail.attachment_dl_notify " . $detail->get('attachment_dl_notify', 'n'); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.data_file_name " . $detail->get("data_file_name"); $text .= "\ndetail.data_file_mimetype " . $detail->get("data_file_mimetype"); $text .= "\ndetail.data_file_filetype " . $detail->get("data_file_filetype"); return $text; }
/** * reeturn import log text of import item. * @param $import_item reference of XooNIpsImportItem object * @return string import log text */ function getImportLog($import_item) { $text = parent::getImportLog($import_item); $detail =& $import_item->getVar('detail'); $text .= "\ndetail.conference_id " . $detail->get("conference_id"); $text .= "\ndetail.presentation_type " . $detail->get("presentation_type"); foreach ($import_item->getVar('author') as $author) { $text .= "\ndetail.author " . $author->get('author'); } $text .= "\ndetail.conference_title " . $detail->get("conference_title"); $text .= "\ndetail.place " . $detail->get("place"); $text .= "\ndetail.abstract " . $detail->get("abstract"); $text .= "\ndetail.conference_from_year " . $detail->get("conference_from_year"); $text .= "\ndetail.conference_from_month " . $detail->get("conference_from_month"); $text .= "\ndetail.conference_from_mday " . $detail->get("conference_from_mday"); $text .= "\ndetail.conference_to_year " . $detail->get("conference_to_year"); $text .= "\ndetail.conference_to_month " . $detail->get("conference_to_month"); $text .= "\ndetail.conference_to_mday " . $detail->get("conference_to_mday"); $text .= "\ndetail.attachment_dl_limit " . $detail->get("attachment_dl_limit"); $text .= "\ndetail.attachment_dl_notify " . $detail->get("attachment_dl_notify"); return $text; }