Skip to content

Commit b6c466f

Browse files
committed
Fixed some function explanation for getFormReports function
1 parent b76953c commit b6c466f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

JotForm.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,6 @@ public function getReport($reportID){
412412
return $this->_executeGetRequest("report/".$reportID);
413413
}
414414

415-
/**
416-
* [getFolder Get folder details]
417-
* @param [integer] $formID [Form ID is the numbers you see on a form URL. You can get form IDs when you call /user/forms.]
418-
* @return [array] [Returns a list of reports in a form, and other details about the reports such as title.]
419-
*/
420-
public function getFormReports($formID){
421-
return $this->_executeGetRequest("form/".$formID."/reports");
422-
}
423-
424415
/**
425416
* [getFolder Get folder details]
426417
* @param [integer] $folderID [You can get a list of folders from /user/folders.]
@@ -449,6 +440,15 @@ public function getFormProperty($formID, $propertyKey) {
449440
return $this->_executeGetRequest("form/".$formID."/properties/".$propertyKey);
450441
}
451442

443+
/**
444+
* [getFormReports Get all reports from a specific form]
445+
* @param [integer] $formID [Form ID is the numbers you see on a form URL. You can get form IDs when you call /user/forms.]
446+
* @return [array] [Returns a list of reports in a form, and other details about the reports such as title.]
447+
*/
448+
public function getFormReports($formID){
449+
return $this->_executeGetRequest("form/".$formID."/reports");
450+
}
451+
452452
/**
453453
* [deleteSubmission Delete a single submission]
454454
* @param [integer] $sid [You can get submission IDs when you call /user/submissions.]

0 commit comments

Comments
 (0)