DeBot Framework


DeBot\Channel
core/Channel.php at line 13

Class Channel

Channel

public class Channel

DeBot Core - Channel Created by dab ??? ?? 2009 Last Edited: Aug 14 2010 This class stores all information about a channel. No real testing has been done to detect the accuracy of it, but it is believed to be working.

Author:
David (dab)
Version:
v1.0

Method Summary
void

__construct(String sName, mixed mParam)

Begins the creation of this channel (onJoin)

void

offsetExists(mixed sKey)

void

offsetGet(mixed sKey)

void

offsetSet(mixed sKey, mixed mValue)

void

offsetUnset(mixed sKey)

void

onMode(String sMode, string sParam)

The mode and the parameters used on a channel

void

onNames(array aNames)

Run this function onNames callback.

void

onTopic(string sTopic)

Set the chanenl's topic

Method Detail

core/Channel.php at line 71

__construct

public void __construct(String sName, mixed mParam)

Begins the creation of this channel (onJoin)

Parameters:
sName - The nick of the owner (bot)
mParam - Array if you are creating a channel with a list of users, string if you are starting with a topic.

core/Channel.php at line 212

offsetExists

public void offsetExists(mixed sKey)

core/Channel.php at line 244

offsetGet

public void offsetGet(mixed sKey)

core/Channel.php at line 279

offsetSet

public void offsetSet(mixed sKey, mixed mValue)

core/Channel.php at line 283

offsetUnset

public void offsetUnset(mixed sKey)

core/Channel.php at line 112

onMode

public void onMode(String sMode, string sParam)

The mode and the parameters used on a channel

Parameters:
sMode - The mode(s) used in a string (No spaces)
sParam - The strings of params (for example in bans) /

core/Channel.php at line 86

onNames

public void onNames(array aNames)

Run this function onNames callback.

Parameters:
aNames - A list of names to place in the channel

core/Channel.php at line 206

onTopic

public void onTopic(string sTopic)

Set the chanenl's topic

Parameters:
sTopic - The topic of the channel to set

DeBot Framework