diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-24 13:27:43 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-06-24 13:27:43 +0000 |
| commit | 49d2876be2d890265dded1aa87ac2c01c25ff362 (patch) | |
| tree | c97eb5e01a7e90a0afe51200a9c58d9d49b7d1d9 /roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php | |
| parent | 9b978b989e0dc418d43a12d95b4c6716108a7f50 (diff) | |
- Use built-in spellchecker instead of a PHP files of spellchecker plugin in TinyMCE
git-svn-id: https://svn.roundcube.net/trunk@3784 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php')
| -rwxr-xr-x | roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php b/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php deleted file mode 100755 index d6800391a..000000000 --- a/roundcubemail/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php +++ /dev/null @@ -1,61 +0,0 @@ -<?php
-/**
- * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
- *
- * @author Moxiecode
- * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.
- */
-
-class SpellChecker {
- /**
- * Constructor.
- *
- * @param $config Configuration name/value array.
- */
- function SpellChecker(&$config) {
- $this->_config = $config;
- }
-
- /**
- * Simple loopback function everything that gets in will be send back.
- *
- * @param $args.. Arguments.
- * @return {Array} Array of all input arguments.
- */
- function &loopback(/* args.. */) {
- return func_get_args();
- }
-
- /**
- * Spellchecks an array of words.
- *
- * @param {String} $lang Language code like sv or en.
- * @param {Array} $words Array of words to spellcheck.
- * @return {Array} Array of misspelled words.
- */
- function &checkWords($lang, $words) {
- return $words;
- }
-
- /**
- * Returns suggestions of for a specific word.
- *
- * @param {String} $lang Language code like sv or en.
- * @param {String} $word Specific word to get suggestions for.
- * @return {Array} Array of suggestions for the specified word.
- */
- function &getSuggestions($lang, $word) {
- return array();
- }
-
- /**
- * Throws an error message back to the user. This will stop all execution.
- *
- * @param {String} $str Message to send back to user.
- */
- function throwError($str) {
- die('{"result":null,"id":null,"error":{"errstr":"' . addslashes($str) . '","errfile":"","errline":null,"errcontext":"","level":"FATAL"}}');
- }
-}
-
-?>
|
