PHP Класс Phergie_Plugin_Command, phergie

Автор: Phergie Development Team ([email protected])
Наследование: extends Phergie_Plugin_Abstract
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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