|
Erebot
latest
A modular IRC bot for PHP 5.3+
|
This class contains the configuration for an IRC server. More...
Inheritance diagram for Erebot\Config\Server:Public Member Functions | |
| __construct (\Erebot\Interfaces\Config\Network $netCfg,\SimpleXMLElement $xml) | |
| __destruct () | |
| Destructor. | |
| getConnectionURI () | |
| getNetworkCfg () | |
Public Member Functions inherited from Erebot\Config\Proxy | |
| __clone () | |
| __destruct () | |
| 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) | |
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) | |
Protected Attributes | |
| $connectionURI | |
| An array of URI to follow to connect to this IRC(S) server. | |
Protected Attributes inherited from Erebot\Config\Proxy | |
| $locale | |
| The current locale. | |
| $modules | |
| Array of modules loaded at this particular configuration level. | |
| $proxified | |
| Reference to a proxified object. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Erebot\Config\Proxy | |
| static | parseBoolHelper ($value) |
| static | parseIntHelper ($value) |
| static | parseRealHelper ($value) |
Protected Member Functions inherited from Erebot\Config\Proxy | |
| __construct (\Erebot\Interfaces\Config\Proxy $proxified,\SimpleXMLElement $xml) | |
| parseSomething ($module, $param, $default,\Erebot\CallableInterface $parser, $origin,\Erebot\CallableInterface $checker) | |
This class contains the configuration for an IRC server.
This class stores settings which are specific to an IRC server, such as a connection URL and a default quit message.
Definition at line 30 of file Server.php.
| Erebot\Config\Server::__construct | ( | \Erebot\Interfaces\Config\Network | $netCfg, |
| \SimpleXMLElement | $xml | ||
| ) |
Creates a new Erebot::Config::Server instance.
| Erebot::Interfaces::Config::Network | $netCfg | A reference to an object which contains the configuration for the IRC network this server is a part of. |
| SimpleXMLElement | $xml | An XML node containing the configuration data for this server. |
Definition at line 46 of file Server.php.
| Erebot\Config\Server::getConnectionURI | ( | ) |
Returns the URL to use to connect to this IRC server.
| string | This server's connection URI. |
Implements Erebot\Interfaces\Config\Server.
Definition at line 63 of file Server.php.
References Erebot\Config\Server\$connectionURI.
| Erebot\Config\Server::getNetworkCfg | ( | ) |
Returns the IRC network configuration upon which this IRC server configuration depends.
| Erebot::Interfaces::Config::Network | The network configuration associated with this server configuration. |
Implements Erebot\Interfaces\Config\Server.
Definition at line 69 of file Server.php.
References Erebot\Config\Proxy\$proxified.