Properties

$serverHostname

$serverHostname : string

Server hostname

Type

string

$serverPort

$serverPort : int

Server port

Type

int

$password

$password : string

Connection password

Type

string

$nickname

$nickname : string

User's nickname

Type

string

$username

$username : string

User's username

Type

string

$hostname

$hostname : string

User's hostname under RFC 1459 or the mode under RFC 2812

Type

string

$servername

$servername : string

User's server name under RFC 1459 or an unused parameter under RFC 2812

Type

string

$realname

$realname : string

User's real name

Type

string

$options

$options : array

Implementation-specific connection options

Type

array

Methods

__construct()

__construct(array $config)

Constructor to accept property values.

Parameters

array $config

Associative array keyed by property name

setServerHostname()

setServerHostname(string $hostname)

Implements ConnectionInterface::setServerHostname().

Parameters

string $hostname

getServerHostname()

getServerHostname() : string

Implements ConnectionInterface::getServerHostname().

Returns

string

setServerPort()

setServerPort(int $port)

Implements ConnectionInterface::setServerPort().

Parameters

int $port

getServerPort()

getServerPort() : int

Implements ConnectionInterface::getServerPort().

The recommended return value for this method if no port is explicitly set is 6667.

Returns

int

setPassword()

setPassword(string $password)

Implements ConnectionInterface::setPassword().

Parameters

string $password

getPassword()

getPassword() : string

Implements ConnectionInterface::getPassword().

Returns

string

setNickname()

setNickname(string $nickname)

Implements ConnectionInterface::setNickname().

Parameters

string $nickname

getNickname()

getNickname() : string

Implements ConnectionInterface::getNickname().

Returns

string

setUsername()

setUsername(string $username)

Implements ConnectionInterface::setUsername().

Parameters

string $username

getUsername()

getUsername() : string

Implements ConnectionInterface::getUsername().

Returns

string

setHostname()

setHostname(string $hostname)

Implements ConnectionInterface::setHostname().

Parameters

string $hostname

getHostname()

getHostname() : string

Implements ConnectionInterface::getHostname().

Returns

string

setServername()

setServername(string $servername)

Implements ConnectionInterface::setServername().

Parameters

string $servername

getServername()

getServername() : string

Implements ConnectionInterface::getServername().

Returns

string

setRealname()

setRealname(string $realname)

Implements ConnectionInterface::setRealname().

Parameters

string $realname

getRealname()

getRealname() : string

Implements ConnectionInterface::getRealname().

Returns

string

setOption()

setOption(string $name, mixed $value)

Implements ConnectionInterface::setOption().

Parameters

string $name

Option name

mixed $value

Option value

getOption()

getOption(string $name) : mixed

Implements ConnectionInterface::getOption().

Parameters

string $name

Option name

Returns

mixed