HTML_QuickForm_Rule_Spelling
[ class tree: HTML_QuickForm_Rule_Spelling ] [ index: HTML_QuickForm_Rule_Spelling ] [ all elements ]

Class: HTML_QuickForm_Rule_Spelling_Pspell

Source Location: /HTML_QuickForm_Rule_Spelling-0.2.0/Spelling/Pspell.php

Class Overview


Pspell 'driver' for HTML_QuickForm_Rule_Spelling


Author(s):

  • David Sanders (shangxiao at php.net)

Version:

  • Release: 0.2.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 16]
Pspell 'driver' for HTML_QuickForm_Rule_Spelling

PHP Versions 4 and 5



[ Top ]


Method Detail

HTML_QuickForm_Rule_Spelling_Pspell (Constructor)   [line 31]

HTML_QuickForm_Rule_Spelling_Pspell HTML_QuickForm_Rule_Spelling_Pspell( [ $pspell_config = null])

Constructor
  • Access: public

Parameters:

   $pspell_config   — 

[ Top ]

add   [line 75]

bool add( $word $word)

Add a word to the dictionary
  • Access: public

Parameters:

$word   $word   —  Word to add to dictionary

[ Top ]

check   [line 51]

bool check( $word $word)

Check the presence of word in the dictionary
  • Access: public

Parameters:

$word   $word   —  Word to check

[ Top ]

save   [line 86]

bool save( )

Save dictionary
  • Access: public

[ Top ]

suggest   [line 63]

array suggest( $word $word)

Generate a list of suggested words from a certain word
  • Access: public

Parameters:

$word   $word   —  Word to generate suggestion list from

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:11:00 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.