PHP Class Phergie_Plugin_TerryChay, phergie

Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Protected Properties

Property Type Description
$http Phergie_Plugin_Http HTTP plugin

Public Methods

Method 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 method

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

onLoad() public method

Checks for dependencies.
public onLoad ( ) : void
return void

onPrivmsg() public method

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

Property Details

$http protected property

HTTP plugin
protected Phergie_Plugin_Http $http
return Phergie_Plugin_Http