public function getOriginalDocumentData($document)
    {
        $oid = spl_object_hash($document);
        if (isset($this->originalDocumentData[$oid])) {
            return $this->originalDocumentData[$oid];
        }
        return array();
    }
public function getOriginalDocumentData($document)
    {
        $oid = spl_object_hash($document);
        if (isset($this->originalDocumentData[$oid])) {
            return $this->originalDocumentData[$oid];
        }
        return array();
    }
public function getOriginalDocumentData ( $ document ) { $ oid = spl_object_hash ( $ document ) ; if ( isset ( $ this -> originalDocumentData [ $ oid ] ) ) { return $ this -> originalDocumentData [ $ oid ] ; } return array ( ) ; }
Gets the original data of a document. The original data is the data that was
present at the time the document was reconstituted from the database.

@param object $document
@return array
Gets the original data of a document . The original data is the data that was present at the time the document was reconstituted from the database .