common.php 669 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. /**
  3. * Common spellcheck class functions
  4. * @copyright &copy; 1999-2007 The SquirrelMail Project Team
  5. * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  6. * @version $Id$
  7. * @package plugins
  8. * @subpackage squirrelspell
  9. */
  10. /**
  11. * @package plugins
  12. * @subpackage squirrelspell
  13. */
  14. class squirrelspell {
  15. var $error = '';
  16. /**
  17. * @param string $sError error message
  18. * @return boolean false
  19. */
  20. function set_error($sError) {
  21. $this->error = $sError;
  22. return false;
  23. }
  24. function check_text($sText) {
  25. return $this->set_error('check_text method is not implemented in this class.');
  26. }
  27. }