aboutsummaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
Diffstat (limited to 'classes')
-rw-r--r--classes/iterators/IsisSubfieldIterator.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/classes/iterators/IsisSubfieldIterator.php b/classes/iterators/IsisSubfieldIterator.php
index 36d3d06..7e01687 100644
--- a/classes/iterators/IsisSubfieldIterator.php
+++ b/classes/iterators/IsisSubfieldIterator.php
@@ -21,8 +21,15 @@ class IsisSubfieldIterator implements Iterator
*
* @param $field
* Field to iterate over.
+ *
+ * @param $main
+ * Control to which subfield the main field should be mapped to.
+ * By default no mapping is made.
+ *
+ * @todo
+ * Implement $main mapping.
*/
- public function __construct($class, $field) {
+ public function __construct($class, $field, $main = false) {
$this->class = $class;
$this->field = $field;
$this->rows = $class->getRows($field);