PHP Class Phergie_Plugin_TerryChay, phergie

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

Protected Properties

Свойство Type Description
$http Phergie_Plugin_Http HTTP plugin

Méthodes publiques

Méthode Description
getChayism ( ) : string | boolean Fetches a chayism.
onLoad ( ) : void Checks for dependencies.
onPrivmsg ( ) : void Parses incoming messages for "Terry Chay" and related variations and responds with a chayism.

Method Details

getChayism() public méthode

Fetches a chayism.
public getChayism ( ) : string | boolean
Résultat string | boolean Fetched chayism or FALSE if the operation failed

onLoad() public méthode

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

onPrivmsg() public méthode

Parses incoming messages for "Terry Chay" and related variations and responds with a chayism.
public onPrivmsg ( ) : void
Résultat void

Property Details

$http protected_oe property

HTTP plugin
protected Phergie_Plugin_Http $http
Résultat Phergie_Plugin_Http