메소드 |
설명 |
|
addResource ( {String} $name ) |
Manually add a resource to the resource manager |
|
cleanString ( {String} $string ) : {String} |
Clean strings by removing all characters except A-Z, a-z, 0-9, dots, hyphens and spaces
and replacing sequences of spaces with underscore |
|
expUpload ( ) |
Upload data to the project's resource directory on the local experiment server |
|
getOsfDataDirectoryLink ( ) |
Get project's data folder URL on OSF server |
|
getOsfDownloadLinks ( ) |
Get download links for all available resources in the project's OSF resource directory |
|
getOsfResource ( {String} $name ) |
Get resource from OSF server |
|
getOsfResourceDirectoryLink ( ) |
Get project's resource directory URL on OSF server |
|
getOsfStorageProvider ( ) |
Get storage provider and upload URL of project on OSF server |
|
listLocalResources ( ) : {String} |
List the resources available in the resource directory of the local experiment server |
|
osfUpload ( ) |
Upload data to the project's resource directory on the local experiment server
and upload them to OSF |
|
saveDataToLocalFile ( {String} $session, {Object} $data, {{('RESULT' | 'LOG')}} $dataType ) : {String} |
Save data to a file on the local experiment server |
|
sendEmail ( ) |
Send an email to the experimenter. |
|
showSynchronisationGUI ( ) |
Show the experiment server synchronisation GUI |
|
uploadLocalFileToOSF ( {String} $localFileName, {String} $OSFFileName ) : {String} |
Upload a file from the local experiment server onto the OSF server |
|