Public Member Functions | |
| error ($message=null) | |
| getConflicts () | |
| getErrors () | |
| hasOption ($option) | |
| import ($conferencePath, $importPath, $options=array()) | |
| importConference () | |
| ImportOCS1 () | |
| importPapers () | |
| importRegistrations () | |
| importReviewers () | |
| importReviews () | |
| importSchedConf ($id) | |
| importSchedConfs () | |
| importTracks () | |
| loadGlobalConfig () | |
| rebuildSearchIndex () | |
Public Attributes | |
| $conference | |
| $conferenceId = 0 | |
| $conferenceInfo = array() | |
| $conferenceIsNew | |
| $conferencePath | |
| $conflicts | |
| $dbtable = array() | |
| $error | |
| $errors | |
| $globalConfigInfo | |
| $importDao | |
| $importDBConn | |
| $importPath | |
| $indexUrl | |
| $options | |
| $paperCount = 0 | |
| $paperMap = array() | |
| $reviewerMap = array() | |
| $schedConfMap = array() | |
| $trackMap = array() | |
| $userCount = 0 | |
Definition at line 46 of file ImportOCS1.inc.php.
| ImportOCS1.error | ( | $ | message = null |
) |
Record error message.
Definition at line 104 of file ImportOCS1.inc.php.
Referenced by import().
| ImportOCS1.getConflicts | ( | ) |
Get the list of conflicting user accounts.
Definition at line 951 of file ImportOCS1.inc.php.
| ImportOCS1.getErrors | ( | ) |
Get the list of errors.
Definition at line 958 of file ImportOCS1.inc.php.
| ImportOCS1.hasOption | ( | $ | option | ) |
Check if an option is enabled.
| $option | string |
Definition at line 116 of file ImportOCS1.inc.php.
Referenced by import(), importConference(), importPapers(), importRegistrations(), importReviewers(), importReviews(), importSchedConf(), importSchedConfs(), importTracks(), and rebuildSearchIndex().
| ImportOCS1.import | ( | $ | conferencePath, | |
| $ | importPath, | |||
| $ | options = array() | |||
| ) |
Execute import of an OCS 1 conference. If an existing conference path is specified, only content is imported; otherwise, a new conference is created and all conference settings are also imported.
| $conferencePath | string conference URL path | |
| $importPath | string local filesystem path to the base OCS 1 directory | |
| $options | array supported: 'importRegistrations' |
Definition at line 129 of file ImportOCS1.inc.php.
References $conferencePath, $dbtable, $importPath, $options, error(), hasOption(), importConference(), importPapers(), importRegistrations(), importReviewers(), importReviews(), importSchedConfs(), importTracks(), loadGlobalConfig(), and rebuildSearchIndex().
| ImportOCS1.ImportOCS1 | ( | ) |
Constructor.
Definition at line 87 of file ImportOCS1.inc.php.
| ImportOCS1.importPapers | ( | ) |
Import papers (including metadata and files).
Definition at line 606 of file ImportOCS1.inc.php.
References Validation.encryptCredentials(), Validation.generatePassword(), AppLocale.getLocale(), hasOption(), and PaperSearchIndex.updateFileIndex().
Referenced by import().
| ImportOCS1.importRegistrations | ( | ) |
Import registrations and registration types.
Definition at line 333 of file ImportOCS1.inc.php.
References $conferenceId, $conferenceInfo, Validation.encryptCredentials(), Validation.generatePassword(), AppLocale.getLocale(), and hasOption().
Referenced by import().
| ImportOCS1.importReviewers | ( | ) |
Import reviewers
Definition at line 521 of file ImportOCS1.inc.php.
References Validation.encryptCredentials(), Validation.generatePassword(), and hasOption().
Referenced by import().
| ImportOCS1.importReviews | ( | ) |
Import reviews.
Definition at line 838 of file ImportOCS1.inc.php.
References $errors, and hasOption().
Referenced by import().
| ImportOCS1.importSchedConf | ( | $ | id | ) |
Import scheduled conference and related settings.
| $id | int |
Definition at line 288 of file ImportOCS1.inc.php.
References $conferenceInfo, $dbtable, AppLocale.getLocale(), and hasOption().
Referenced by importSchedConfs().
| ImportOCS1.importTracks | ( | ) |
Import tracks.
Definition at line 485 of file ImportOCS1.inc.php.
References AppLocale.getLocale(), and hasOption().
Referenced by import().
| ImportOCS1.loadGlobalConfig | ( | ) |
Load OCS 1 configuration and settings data.
Definition at line 184 of file ImportOCS1.inc.php.
References $dbtable.
Referenced by import().
| ImportOCS1.rebuildSearchIndex | ( | ) |
Rebuild the paper search index. Note: Rebuilds index for _all_ conferences (non-optimal, but shouldn't be a problem) Based on code from tools/rebuildSearchIndex.php
Definition at line 940 of file ImportOCS1.inc.php.
References hasOption(), and PaperSearchIndex.rebuildIndex().
Referenced by import().
1.4.7