public function getTranslationOriginalUidIfTranslated($table, array $record, $originalUid)
    {
        if (!$this->isLocalizedRecord($table, $record)) {
            return $originalUid;
        }

        return $this->getTranslationOriginalUid($table, $record);
    }
public function getTranslationOriginalUidIfTranslated($table, array $record, $originalUid)
    {
        if (!$this->isLocalizedRecord($table, $record)) {
            return $originalUid;
        }

        return $this->getTranslationOriginalUid($table, $record);
    }
public function getTranslationOriginalUidIfTranslated ( $ table , array $ record , $ originalUid ) { if ( ! $ this -> isLocalizedRecord ( $ table , $ record ) ) { return $ originalUid ; } return $ this -> getTranslationOriginalUid ( $ table , $ record ) ; }
Retrieves the uid that as marked as original if the record is a translation if not it returns the
originalUid.

@param $table
@param array $record
@param $originalUid
@return integer
Retrieves the uid that as marked as original if the record is a translation if not it returns the originalUid .