PHP-IRCBOT
EasytosetupandextendIRCbotwritteninPHP
Public Member Functions | Public Attributes | Private Attributes | List of all members
Net_SmartIRC_module_example Class Reference
Inheritance diagram for Net_SmartIRC_module_example:
Inheritance graph
[legend]
Collaboration diagram for Net_SmartIRC_module_example:
Collaboration graph
[legend]

Public Member Functions

 __construct ($irc)
 
 __destruct ()
 

Public Attributes

 $name = ''
 
 $author = ''
 
 $description = ''
 
 $license = 'MIT'
 

Private Attributes

 $irc
 

Detailed Description

Create a bot module to be used by Net_SmartIRC library. Change the name of the class after "Net_SmartIRC_module_" to match the botname. e.g. If your botname is "robo", class name should be Net_SmartIRC_module_robo. Note names are case-sensitive.

Constructor & Destructor Documentation

Net_SmartIRC_module_example::__construct (   $irc)

Constructor.

Parameters
$irc(object).
Net_SmartIRC_module_example::__destruct ( )

Call parent destructor.

Member Data Documentation

Net_SmartIRC_module_example::$author = ''
Net_SmartIRC_module_example::$description = ''
Net_SmartIRC_module_example::$irc
private
Net_SmartIRC_module_example::$license = 'MIT'
Net_SmartIRC_module_example::$name = ''

The documentation for this class was generated from the following file: