/** * Get the values that are in the changed props of the model. * * @return array * @author Justin Palmer **/ public function getUpdateValues() { $ret = array(); $params = $this->model->props()->export(); foreach ($params as $key => $value) { if (in_array($key, $this->model->props_changed())) { $ret[] = $value; } } return $ret; }