aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/IsisConnector.php15
-rw-r--r--schemas/fbe.yaml3
2 files changed, 18 insertions, 0 deletions
diff --git a/classes/IsisConnector.php b/classes/IsisConnector.php
index 4577a23..6467959 100644
--- a/classes/IsisConnector.php
+++ b/classes/IsisConnector.php
@@ -39,6 +39,21 @@ class IsisConnector {
}
/**
+ * Get all values of a given field.
+ *
+ * @param $field
+ * Field array.
+ *
+ * @return
+ * Field data.
+ */
+ public function getFields($field) {
+ if (isset($this->result[$field['name']])) {
+ return $this->result[$field['name']];
+ }
+ }
+
+ /**
* Get the value of a given field.
*
* @param $field
diff --git a/schemas/fbe.yaml b/schemas/fbe.yaml
index 5f03e32..6b95e85 100644
--- a/schemas/fbe.yaml
+++ b/schemas/fbe.yaml
@@ -84,6 +84,9 @@ fields:
24:
name: GĂȘnero
repeat: Yes
+ map:
+ type: FilmGenres
+ field: description
25:
name: Sinopse/Enredo
repeat: Yes