public function dirtyAttributes()
	{
		if (!$this->_dirty)
			return null;

		$dirty = array_intersect_key($this->_attributes, $this->_dirty);
		return !empty($dirty) ? $dirty : null;
	}
public function dirtyAttributes()
	{
		if (!$this->_dirty)
			return null;

		$dirty = array_intersect_key($this->_attributes, $this->_dirty);
		return !empty($dirty) ? $dirty : null;
	}
public function dirtyAttributes ( ) { if ( ! $ this -> _dirty ) return null ; $ dirty = array_intersect_key ( $ this -> _attributes , $ this -> _dirty ) ; return ! empty ( $ dirty ) ? $ dirty : null ; }
Returns hash of attributes that have been modified since loading the model.

@return mixed null if no dirty attributes otherwise returns array of dirty attributes.
Returns hash of attributes that have been modified since loading the model .