src/Axolotl/Model.php
public function get_changed_table_attributes() {
		$changed = array();

		foreach ( $this->get_table_attributes() as $key => $value ) {
			if ( $value !==
				 $this->get_original_attribute( $key )
			) {
				$changed[ $key ] = $value;
			}
		}

		return $changed;
	}
public function get_changed_table_attributes() {
		$changed = array();

		foreach ( $this->get_table_attributes() as $key => $value ) {
			if ( $value !==
				 $this->get_original_attribute( $key )
			) {
				$changed[ $key ] = $value;
			}
		}

		return $changed;
	}
public function get_changed_table_attributes ( ) { $ changed = array ( ) ; foreach ( $ this -> get_table_attributes ( ) as $ key => $ value ) { if ( $ value !== $ this -> get_original_attribute ( $ key ) ) { $ changed [ $ key ] = $ value ; } } return $ changed ; }
Retrieve an array of the attributes on the model
that have changed compared to the model's
original data.

@return array
Retrieve an array of the attributes on the model that have changed compared to the model s original data .