PHP Class Phergie_Plugin_SpellCheck, phergie

Inheritance: extends Phergie_Plugin_Abstract
Afficher le fichier Open project: phergie/phergie

Protected Properties

Свойство Type Description
$limit integer Limit on the number of potential correct spellings returned
$pspell resource Spell check dictionary handler

Méthodes publiques

Méthode Description
onCommandSpell ( string $word ) : void Intercepts and handles requests for spell checks.
onLoad ( ) : void Check for dependencies.

Méthodes protégées

Méthode Description
loadDictionaryError ( integer $errno, string $errstr, string $errfile, integer $errline ) : void Handle any errors from loading dictionary

Method Details

loadDictionaryError() protected méthode

Handle any errors from loading dictionary
protected loadDictionaryError ( integer $errno, string $errstr, string $errfile, integer $errline ) : void
$errno integer Error code
$errstr string Error message
$errfile string File that errored
$errline integer Line where the error happened
Résultat void

onCommandSpell() public méthode

Intercepts and handles requests for spell checks.
public onCommandSpell ( string $word ) : void
$word string the string to perform checks against
Résultat void

onLoad() public méthode

Check for dependencies.
public onLoad ( ) : void
Résultat void

Property Details

$limit protected_oe property

Limit on the number of potential correct spellings returned
protected int $limit
Résultat integer

$pspell protected_oe property

Spell check dictionary handler
protected resource $pspell
Résultat resource