b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (CVS HEAD) [ class tree: main ] [ index: main ] [ all elements ]

Class: GoogleSpell

Source Location: /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php

Class GoogleSpell

Class Overview

$Id: GoogleSpell.php,v 1.2 2009/08/09 03:08:08 sam2kb Exp $

Located in /blogs/plugins/tinymce_plugin/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php [line 9]

SpellChecker
   |
   --GoogleSpell
Author(s):
  • Moxiecode
Information Tags:
Copyright:  Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From SpellChecker

SpellChecker::SpellChecker()
Constructor.
SpellChecker::checkWords()
Spellchecks an array of words.
SpellChecker::getSuggestions()
Returns suggestions of for a specific word.
SpellChecker::loopback()
Simple loopback function everything that gets in will be send back.
SpellChecker::throwError()
Throws an error message back to the user. This will stop all execution.

[ Top ]
Method Summary
{Array}   &checkWords()   Spellchecks an array of words.
{Array}   &getSuggestions()   Returns suggestions of for a specific word.
void   &_getMatches()  
void   _unhtmlentities()  

[ Top ]
Methods
checkWords  [line 17]

  {Array} &checkWords( {String} $lang, {Array} $words  )

Spellchecks an array of words.

Parameters:
{String}   $lang:  Language code like sv or en.
{Array}   $words:  Array of words to spellcheck.

API Tags:
Return:  Array of misspelled words.


Redefinition of:
SpellChecker::checkWords()
Spellchecks an array of words.

[ Top ]
getSuggestions  [line 35]

  {Array} &getSuggestions( {String} $lang, {String} $word  )

Returns suggestions of for a specific word.

Parameters:
{String}   $lang:  Language code like sv or en.
{String}   $word:  Specific word to get suggestions for.

API Tags:
Return:  Array of suggestions for the specified word.


Redefinition of:
SpellChecker::getSuggestions()
Returns suggestions of for a specific word.

[ Top ]
_getMatches  [line 52]

  void &_getMatches( $lang, $str  )

Parameters:
   $lang: 
   $str: 


[ Top ]
_unhtmlentities  [line 107]

  void _unhtmlentities( $string  )

Parameters:
   $string: 


[ Top ]

Documentation generated on Sat, 06 Mar 2010 03:52:46 +0100 by phpDocumentor 1.4.2. This site is hosted and maintained by Daniel HAHLER (Contact).