@@ -12,14 +12,22 @@ PHPCap's __RedCapProject__ class provides the following 3 methods for exporting
12
12
3 . __ exportReports__ - method that exports the records produced by a report that
13
13
is defined for the project in REDCap.
14
14
15
- The detailed documentation for the RedCapProject class can be found in the PHPCap API documentation:
16
- [ RedCapProject Class] ( api/classes/IU-PHPCap-RedCapProject.html )
17
-
18
- __ Batch Processing__ . The methods above return all of their records at once, but
15
+ ** Batch Processing.** The methods above return all of their records at once, but
19
16
the method __ getRecordIdBatches__ can be used with the first 2 methods above
20
17
to export records in batches. This will cut down on the memory requirements of the export, which
21
18
can be useful for exporting the records from very large projects.
22
19
20
+ ** Files.** When records are exported, the contents of any files in those records will
21
+ * not* be exported. To export files,
22
+ you need to use the
23
+ [ exportFile] ( api/classes/IU-PHPCap-RedCapProject.html#method_exportFile )
24
+ method. This method can only export a single file, so if you want to
25
+ export multiple files, you will need to call the method multiple times.
26
+
27
+ The detailed documentation for the ** RedCapProject** class can be found in the PHPCap API documentation:
28
+ [ RedCapProject Class] ( api/classes/IU-PHPCap-RedCapProject.html )
29
+
30
+
23
31
exportRecords
24
32
---------------------------
25
33
The exportRecords method is a standard PHP method that has 12 parameters that can
@@ -141,3 +149,4 @@ above might return, for example:
141
149
```
142
150
143
151
API documentation: [ getRecorIdBatches()] ( api/classes/IU-PHPCap-RedCapProject.html#method_getRecordIdBatches )
152
+
0 commit comments