public function is_dirty($key) { return array_key_exists($key, $this->_dirty_fields); }
/** * Check whether the given field has changed since the object was created or saved * * @param string $property * @return bool */ public function is_dirty($property) { return $this->orm->is_dirty($property); }