From 254717b11c91f027d1d8f5d011ac8cc63ebc5c4f Mon Sep 17 00:00:00 2001 From: steelice Date: Thu, 20 Oct 2016 18:59:47 +0200 Subject: [PATCH] +getFromFields method --- src/GetResponseAPI3.class.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/GetResponseAPI3.class.php b/src/GetResponseAPI3.class.php index 2782e2f..1938959 100644 --- a/src/GetResponseAPI3.class.php +++ b/src/GetResponseAPI3.class.php @@ -327,6 +327,16 @@ public function getForms($params = array()) return $this->call('forms?' . $this->setParams($params)); } + /** + * retrieve all from-fields + * + * @return mixed + */ + public function getFromFields($params = array()) + { + return $this->call('from-fields'); + } + /** * Curl run request * @@ -403,4 +413,4 @@ private function setParams($params = array()) return http_build_query($result); } -} \ No newline at end of file +}