1<?php
2/**
3 * Spell Checker Plugin
4 *
5 * @license    GPL 2 (http://www.gnu.org/licenses/gpl.html)
6 * @author     Andreas Gohr <andi@splitbrain.org>
7 */
8// must be run within Dokuwiki
9if(!defined('DOKU_INC')) die();
10
11class helper_plugin_spellcheck extends DokuWiki_Plugin {
12
13    /**
14     * return some info
15     */
16    function getInfo(){
17        return array(
18            'author' => 'Andreas Gohr',
19            'email'  => 'andi@splitbrain.org',
20            'date'   => '2008-04-28',
21            'name'   => 'Spell Checker Plugin',
22            'desc'   => 'Sends the editor text to an aspell backend service to check for spelling errors',
23            'url'    => 'http://wiki.splitbrain.org/plugin:spellcheck',
24        );
25    }
26
27    /**
28     * Returns an empty array - we do everything via JavaScript and AJAX
29     */
30    function getMethods(){
31        return array();
32    }
33}
34