|
Add a word only by it's WordIndex ID to our internal Word list.
Adds a word which will not have actual text, just ID. Later, if necessary, the TranslationWord object can be extended to load it's text when ID is configured but word text is not. If the word already exist in this context, the number of occurences will be increased by $count.
- Parameters:
-
| $id | The ID of the word in the WordIndex database. |
| $count | Occurences of the word in the current context, defaults to 1. |
- Returns:
- Nothing.
Definition at line 192 of file TranslationWordList.php.
References FindByID(). |