PHP 클래스 Phergie_Plugin_SpellCheck, phergie

저자: Phergie Development Team ([email protected])
상속: extends Phergie_Plugin_Abstract
파일 보기 프로젝트 열기: phergie/phergie

보호된 프로퍼티들

프로퍼티 타입 설명
$limit integer Limit on the number of potential correct spellings returned
$pspell resource Spell check dictionary handler

공개 메소드들

메소드 설명
onCommandSpell ( string $word ) : void Intercepts and handles requests for spell checks.
onLoad ( ) : void Check for dependencies.

보호된 메소드들

메소드 설명
loadDictionaryError ( integer $errno, string $errstr, string $errfile, integer $errline ) : void Handle any errors from loading dictionary

메소드 상세

loadDictionaryError() 보호된 메소드

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
리턴 void

onCommandSpell() 공개 메소드

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

onLoad() 공개 메소드

Check for dependencies.
public onLoad ( ) : void
리턴 void

프로퍼티 상세

$limit 보호되어 있는 프로퍼티

Limit on the number of potential correct spellings returned
protected int $limit
리턴 integer

$pspell 보호되어 있는 프로퍼티

Spell check dictionary handler
protected resource $pspell
리턴 resource