]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php
Imported Upstream version 0.5
[roundcube.git] / program / js / tiny_mce / plugins / spellchecker / classes / SpellChecker.php
diff --git a/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php b/program/js/tiny_mce/plugins/spellchecker/classes/SpellChecker.php
deleted file mode 100755 (executable)
index d680039..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-<?php\r
-/**\r
- * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $\r
- *\r
- * @author Moxiecode\r
- * @copyright Copyright © 2004-2007, Moxiecode Systems AB, All rights reserved.\r
- */\r
-\r
-class SpellChecker {\r
-       /**\r
-        * Constructor.\r
-        *\r
-        * @param $config Configuration name/value array.\r
-        */\r
-       function SpellChecker(&$config) {\r
-               $this->_config = $config;\r
-       }\r
-\r
-       /**\r
-        * Simple loopback function everything that gets in will be send back.\r
-        *\r
-        * @param $args.. Arguments.\r
-        * @return {Array} Array of all input arguments. \r
-        */\r
-       function &loopback(/* args.. */) {\r
-               return func_get_args();\r
-       }\r
-\r
-       /**\r
-        * Spellchecks an array of words.\r
-        *\r
-        * @param {String} $lang Language code like sv or en.\r
-        * @param {Array} $words Array of words to spellcheck.\r
-        * @return {Array} Array of misspelled words.\r
-        */\r
-       function &checkWords($lang, $words) {\r
-               return $words;\r
-       }\r
-\r
-       /**\r
-        * Returns suggestions of for a specific word.\r
-        *\r
-        * @param {String} $lang Language code like sv or en.\r
-        * @param {String} $word Specific word to get suggestions for.\r
-        * @return {Array} Array of suggestions for the specified word.\r
-        */\r
-       function &getSuggestions($lang, $word) {\r
-               return array();\r
-       }\r
-\r
-       /**\r
-        * Throws an error message back to the user. This will stop all execution.\r
-        *\r
-        * @param {String} $str Message to send back to user.\r
-        */\r
-       function throwError($str) {\r
-               die('{"result":null,"id":null,"error":{"errstr":"' . addslashes($str) . '","errfile":"","errline":null,"errcontext":"","level":"FATAL"}}');\r
-       }\r
-}\r
-\r
-?>\r