Store the string in the database and create indexes for it.
Checks if the same Original exists in the same Project. In this case no new string created, just updated.
- Returns:
- The found existing or newly created String ID.
- Exceptions:
- 'Exception' thrown if Original srtring is not set.
Definition at line 274 of file TranslationString.php.
References $DB, $SentenceLengthCache, FindSentenceIndex(), GetDbConn(), GetTables(), and StoreSentenceIndex(). |