b2evolution

Multilingual multiuser multiblog engine

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

Class: PSpellShell

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

Class PSpellShell

Class Overview

$Id: PSpellShell.php,v 1.1 2009/08/07 01:59:36 sam2kb Exp $

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

SpellChecker
   |
   --PSpellShell
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   _getCMD()  

[ 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 59]

  {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 ]
_getCMD  [line 102]

  void _getCMD( $lang  )

Parameters:
   $lang: 


[ Top ]

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