| | |
| | | <?php |
| | | |
| | | /* |
| | | /** |
| | | +-----------------------------------------------------------------------+ |
| | | | This file is part of the Roundcube Webmail client | |
| | | | | |
| | |
| | | 'pt' => 'pt.', |
| | | 'es' => 'es.', |
| | | ); |
| | | |
| | | /** |
| | | * Return a list of languages supported by this backend |
| | | * |
| | | * @see rcube_spellcheck_engine::languages() |
| | | */ |
| | | function languages() |
| | | { |
| | | $langs = array_values($this->langhosts); |
| | | $langs[] = 'en'; |
| | | return $langs; |
| | | } |
| | | |
| | | /** |
| | | * Set content and check spelling |
| | |
| | | $result = new SimpleXMLElement($response); |
| | | } |
| | | catch (Exception $e) { |
| | | $thid->error = "Unexpected response from server: " . $store; |
| | | $this->error = "Unexpected response from server: " . $response; |
| | | return array(); |
| | | } |
| | | |
| | |
| | | |
| | | return $result; |
| | | } |
| | | |
| | | } |
| | | |