|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
Interface for an IRC network's configuration. More...
Inheritance diagram for Erebot\Interfaces\Config\Network:Public Member Functions | |
| getChannelCfg ($channel) | |
| getChannels () | |
| getName () | |
| getServerCfg ($server) | |
| getServers () | |
Public Member Functions inherited from Erebot\Interfaces\Config\Proxy | |
| getMainCfg () | |
| getModule ($moduleName) | |
| getModules ($recursive) | |
| getTranslator ($component) | |
| parseBool ($module, $param, $default=null) | |
| parseInt ($module, $param, $default=null) | |
| parseReal ($module, $param, $default=null) | |
| parseString ($module, $param, $default=null) | |
Interface for an IRC network's configuration.
This interface provides the necessary methods to represent the configuration associated with some IRC network.
Definition at line 31 of file Network.php.
| Erebot\Interfaces\Config\Network::getChannelCfg | ( | $channel | ) |
Returns the configuration object for a particular IRC channel.
| string | $channel | The name of the IRC channel whose configuration we're interested in. |
| Erebot::Interfaces::Config::Channel | The configuration object for that channel. |
| Erebot::NotFoundException | No such channel has been configured on this IRC network. |
Implemented in Erebot\Config\Network.
| Erebot\Interfaces\Config\Network::getChannels | ( | ) |
Returns all IRC channel configurations.
| array | A list of all channel configuration instances stored by this network configuration, as objects implementing Erebot::Interfaces::Config::Channel. |
Implemented in Erebot\Config\Network.
| Erebot\Interfaces\Config\Network::getName | ( | ) |
Returns the name of this IRC network.
| string | The name of this IRC network. |
Implemented in Erebot\Config\Network.
| Erebot\Interfaces\Config\Network::getServerCfg | ( | $server | ) |
Returns the configuration object for a particular IRC server.
| string | $server | The name of the IRC server whose configuration we're interested in. |
| Erebot::Interfaces::Config::Server | The configuration object for that server. |
| Erebot::NotFoundException | No such server has been configured on this IRC network. |
Implemented in Erebot\Config\Network.
| Erebot\Interfaces\Config\Network::getServers | ( | ) |
Returns all IRC server configurations.
| array | A list of all server configuration instances stored by this network configuration, as objects implementing Erebot::Interfaces::Config::Server. |
Implemented in Erebot\Config\Network.