## Class Channel

Description

Describes a channel

- version: $Id: class.Channel.inc,v 1.9 2003/04/28 16:21:54 letreo Exp $
- access: public
- author: Michael Oertel <michael@ortelius.de>

Located in Program_Root/include/class.Channel.inc (line 42)

Variable Summary
integer $connection_count
string $message
boolean $moderated
string $name
string $password
Method Summary
void Channel (string $name)
void connect ()
void disconnect ()
void get_message ()
void get_name ()
void get_password ()
string is_attendant (string $nick)
boolean is_moderated ()
boolean is_password_protected ()
void test ()
Variables
integer $connection_count (line 80)

- see: Channel::disconnect()
- see: Channel::connect()

string $message (line 66)

- access: public

boolean $moderated = false (line 54)

- access: public

string $name (line 48)

- access: public

string $password (line 60)

- access: public

Methods
Constructor Channel (line 93)

Constructor.

create and setup a new channel object channel types: null = normal channel 1 = moderated channel

- access: public

void Channel (string $name)

- string $name: channel name

connect (line 187)

Connect to the database

Establish a database connection

- access: public

void connect ()
disconnect (line 208)

Disconnect the database

- see: Channel::connect()
- access: public

void disconnect ()
get_message (line 153)

Provides the message of current channel.

- access: public

void get_message ()
get_name (line 133)

Get channel name.

- access: public

void get_name ()
get_password (line 143)

Provides the password of current channel.

- access: public

void get_password ()
is_attendant (line 117)

Checks if the given nickname in channel

- access: public

string is_attendant (string $nick)

- string $nick

is_moderated (line 164)

Provides the moderated flag

- access: public

boolean is_moderated ()
is_password_protected (line 175)

Provides inforamtion about password protection of current channel

- access: public

boolean is_password_protected ()
test (line 224)

Test class Channel

call like: Channel::test();

void test ()

Documention generated on Fri, 2 May 2003 10:50:41 +0200 by phpDocumentor 1.2.0rc2