- * Assigns data into the $this->original or $this->modified array based
- * on the passed arrays of information and the fields to add (and what
- * name to add them under), and any prefix
- *
- * @access public
- *
- * @param bool TRUE for original, FALSE for modified
- * @param array Data array
- * @param array List of fields in the data array to add; in format of array('field name' => 'display name', 'display name 2', 'display name 3')
- * @param bool If TRUE, then the list of fields is used to exclude, not include
- * @param string Field prefix
- */
- function add_data($orig, $data, $fields, $exclude = false, $prefix = '')
+ * Assigns data into the $this->original or $this->modified array based
+ * on the passed arrays of information and the fields to add (and what
+ * name to add them under), and any prefix
+ *
+ * @param bool TRUE for original, FALSE for modified
+ * @param array Data array
+ * @param array List of fields in the data array to add; in format of array('field name' => 'display name', 'display name 2', 'display name 3')
+ * @param bool If TRUE, then the list of fields is used to exclude, not include
+ * @param string Field prefix
+ */
+ public function addData($orig, $data, $fields, $exclude = false, $prefix = '')