JavaScript Editor Javascript debugger     Website design 

enchant_dict_add_to_session

add 'word' to this spell-checking session (PECL enchant:0.1-1.0.1)
void enchant_dict_add_to_session ( resource dict, string word )

Add a word to the given dictionary. It will be added only for the active spell-checking session.

Parameters

dict

Dictionary resource

word

The word to add

Return Values

Returns TRUE on success or FALSE on failure.