Lines Matching refs:word
1568 * @param string $word The word to add to the keyword group
1571 public function add_keyword($key, $word) {
1575 if (!in_array($word, $this->language_data['KEYWORDS'][$key])) {
1576 $this->language_data['KEYWORDS'][$key][] = $word;
1581 $this->language_data['CACHED_KEYWORD_LISTS'][$key][$subkey] .= '|' . preg_quote($word, '/');
1590 * @param string $word The word to remove from the keyword group
1599 public function remove_keyword($key, $word, $recompile = true) {
1600 $key_to_remove = array_search($word, $this->language_data['KEYWORDS'][$key]);
1624 // empty word lists mess up highlighting
3260 foreach ($this->language_data['KEYWORDS'][$k] as $word) {
3261 if (strcasecmp($word, $keyword_match) == 0) {
3266 $word = $keyword_match;
3278 str_replace('+', '%20', urlencode($this->hsc($word))),
3279 str_replace('+', '%20', urlencode($this->hsc(strtolower($word)))),
3280 str_replace('+', '%20', urlencode($this->hsc(strtoupper($word)))),
3281 str_replace('+', '%20', urlencode($this->hsc(ucfirst($word)))),