PHP 클래스 Phergie_Plugin_Command, phergie

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

보호된 프로퍼티들

프로퍼티 타입 설명
$methods array Cache for command lookups used to confirm that methods exist and parameter counts match

공개 메소드들

메소드 설명
getMethods ( ) : array Returns a list of detected methods for processing commands.
onLoad ( ) : void Load the Message plugin
onPrivmsg ( ) : void Parses a given message and, if its format corresponds to that of a defined command, calls the handler method for that command with any provided parameters.
populateMethodCache ( ) : void Populates the methods cache.

메소드 상세

getMethods() 공개 메소드

Returns a list of detected methods for processing commands.
public getMethods ( ) : array
리턴 array List of method names

onLoad() 공개 메소드

Load the Message plugin
public onLoad ( ) : void
리턴 void

onPrivmsg() 공개 메소드

Parses a given message and, if its format corresponds to that of a defined command, calls the handler method for that command with any provided parameters.
public onPrivmsg ( ) : void
리턴 void

populateMethodCache() 공개 메소드

Populates the methods cache.
public populateMethodCache ( ) : void
리턴 void

프로퍼티 상세

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

Cache for command lookups used to confirm that methods exist and parameter counts match
protected array $methods
리턴 array