public function getOriginalValues()
    {
        $originals = $this->_original;
        $originalKeys = array_keys($originals);
        foreach ($this->_properties as $key => $value) {
            if (!in_array($key, $originalKeys)) {
                $originals[$key] = $value;
            }
        }

        return $originals;
    }
public function getOriginalValues()
    {
        $originals = $this->_original;
        $originalKeys = array_keys($originals);
        foreach ($this->_properties as $key => $value) {
            if (!in_array($key, $originalKeys)) {
                $originals[$key] = $value;
            }
        }

        return $originals;
    }
public function getOriginalValues ( ) { $ originals = $ this -> _original ; $ originalKeys = array_keys ( $ originals ) ; foreach ( $ this -> _properties as $ key => $ value ) { if ( ! in_array ( $ key , $ originalKeys ) ) { $ originals [ $ key ] = $ value ; } } return $ originals ; }
Gets all original values of the entity.

@return array
Gets all original values of the entity .