Method |
Description |
|
__construct ( ) : void |
Constructor to initialize object properties. |
|
getFormat ( ) : string |
Returns the format used for timestamps in console output. |
|
isEnabled ( ) : boolean |
Returns whether console output is enabled. |
|
onCommand ( Phergie_Event_Command $event, Phergie_Connection $connection ) : void |
Outputs a prompt when the bot sends a command to a server. |
|
onConnect ( string $host ) : void |
Outputs a prompt when a server connection is attempted. |
|
onEvent ( Phergie_Event_Abstract $event, Phergie_Connection $connection ) : void |
Outputs a prompt when the bot receives an IRC event. |
|
onPluginFailure ( string $plugin, string $message ) : void |
Outputs a prompt when a plugin fails to load. |
|
onPluginLoad ( string $plugin ) : void |
Outputs a prompt when a plugin is loaded successfully. |
|
onQuit ( Phergie_Connection $connection ) : void |
Outputs a prompt when the bot terminates a connection to a server. |
|
onShutdown ( ) : void |
Outputs a prompt when the bot shuts down after terminating all server
connections. |
|
setEnabled ( boolean $enabled = true ) : Phergie_Ui_Console |
Sets whether console output is enabled. |
|
setFormat ( string $format ) : Phergie_Ui_Console |
Sets the format used for timestamps in console output, overwriting
any previous format used. |
|