PHP Class Phergie_Plugin_Beer, phergie

Author: Phergie Development Team ([email protected])
Inheritance: extends Phergie_Plugin_Abstract
Show file Open project: phergie/phergie

Public Methods

Method Description
onCommandBeer ( string $request ) : void Processes requests to serve a user a beer.
onCommandBooze ( string $request ) : void Adds a "booze" alias for the "beer" command.
onLoad ( ) : void Checks for dependencies.

Method Details

onCommandBeer() public method

Processes requests to serve a user a beer.
public onCommandBeer ( string $request ) : void
$request string Request including the target and an optional suggestion of what beer to serve
return void

onCommandBooze() public method

Adds a "booze" alias for the "beer" command.
public onCommandBooze ( string $request ) : void
$request string Request including the target and an optional suggestion of what beer to serve
return void

onLoad() public method

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