$wrapperInstance->doUpdateByResult($this->resultInstance);
} // END - if
}
+
+ /**
+ * Getter for field name
+ *
+ * @param $fieldName Field name which we shall get
+ * @return $fieldValue Field value from the user
+ */
+ public function getField ($fieldName) {
+ // Default field value
+ $fieldValue = null;
+
+ // Get current array
+ $fieldArray = $this->resultInstance->current();
+
+ // Does the field exist?
+ if (isset($fieldArray[$fieldName])) {
+ // Get it
+ $fieldValue = $fieldArray[$fieldName];
+ } // END - if
+
+ // Return it
+ return $fieldValue;
+ }
}
// [EOF]