Class chanserv

Description

BuddyServ IRC Services

Channel Service Event handler

Located in /includes/class/Class.chanserv.php (line 24)


	
			
Method Summary
void allow (string $nick, string $channel, string $founder)
void binarymode (string $nick, string $modes)
void clear (string $nick, string $channel, string $what)
void denied (string $nick)
void drop (string $nick, string $channel)
void forbid (string $nick, string $arguments)
void getKey (string $nick, string $channel)
void handlejoin (string $nick, string $chan, bit $binmode)
void handletopic (string $nick, string $channel, string $topic)
void info (string $nick, string $channel)
void initialize (string $nick, string $username, string $host, string $name)
void introduce ()
unknown_type invite (string $nick, string $channel)
void kickban (string $nick, string $channel, string $arguments)
void modaccess (string $nick, string $arguments, [string $channel = false])
void opDeop (string $nick, string $channel, string $command, add|remove $type, bit $mode, [string $target = false])
void parser (string $nick, string $arguments)
void parser_channel (string $nick, string $channel, string $arguments)
void register (string $nick, string $arguments)
void setRestrict (string $nick, string $channel, [on|off] $onoff)
void setSecure (string $nick, string $channel, [on|off] $onoff)
void time (string $nick, string $channel)
void unban (string $nick, string $channel)
void unknowncmd (string $nick, string $command)
mixed __get (string $what)
Methods
allow (line 1074)

Command to allow a person to register the given channel.

void allow (string $nick, string $channel, string $founder)
  • string $nick
  • string $channel
  • string $founder
binarymode (line 1549)

Just a debug function to return true binary mode from a string

void binarymode (string $nick, string $modes)
  • string $nick
  • string $modes
clear (line 481)

Clear channel type command to remove users, modes and operator status's.

void clear (string $nick, string $channel, string $what)
  • string $nick
  • string $channel
  • string $what
denied (line 1246)

If a user does not have access to a command, this is sent

void denied (string $nick)
  • string $nick
drop (line 356)

Drops a registered channel from management.

void drop (string $nick, string $channel)
  • string $nick
  • string $channel
forbid (line 954)

Forbid a channel from being used by non-staff.

void forbid (string $nick, string $arguments)
  • string $nick
  • string $arguments
getKey (line 883)

Sends the user the channel key set on a channel.

void getKey (string $nick, string $channel)
  • string $nick
  • string $channel
handlejoin (line 1272)

Handle user joins to a channel.

This only accepts one nickname per request.

void handlejoin (string $nick, string $chan, bit $binmode)
  • string $nick
  • string $chan
  • bit $binmode
handletopic (line 932)

Handle topic changes, save to database.

void handletopic (string $nick, string $channel, string $topic)
  • string $nick
  • string $channel
  • string $topic
info (line 402)

Sends information to a user about a channel

void info (string $nick, string $channel)
  • string $nick
  • string $channel
initialize (line 73)

Attach the serviceclient object to $client and initialize the current service bot.

void initialize (string $nick, string $username, string $host, string $name)
  • string $nick
  • string $username
  • string $host
  • string $name
introduce (line 97)

Introduce the client to the uplink server.

void introduce ()
invite (line 447)

Invite a user to the channel.

unknown_type invite (string $nick, string $channel)
  • string $nick
  • string $channel
kickban (line 206)

Kickban command to remove a user from a channel

void kickban (string $nick, string $channel, string $arguments)
  • string $nick
  • string $channel
  • string $arguments
leave_expired_channels (line 908)

Leave channels that services should no longer be occupying for one reason or another.

void leave_expired_channels ()
modaccess (line 1104)

Modify a channels access list.

void modaccess (string $nick, string $arguments, [string $channel = false])
  • string $nick
  • string $arguments
  • string $channel
opDeop (line 759)

Processing OP/DEOP/HALFOP ect access requests.

void opDeop (string $nick, string $channel, string $command, add|remove $type, bit $mode, [string $target = false])
  • string $nick
  • string $channel
  • string $command
  • add|remove $type
  • bit $mode
  • string $target
parser (line 244)

Parse commands sent directly to this service.

void parser (string $nick, string $arguments)
  • string $nick
  • string $arguments
parser_channel (line 110)

Parse channel commands for this service client

void parser_channel (string $nick, string $channel, string $arguments)
  • string $nick
  • string $channel
  • string $arguments
register (line 1023)

Register a channel to the database.

Registered channels have access to all chanserv related management functions.

void register (string $nick, string $arguments)
  • string $nick
  • string $arguments
setRestrict (line 655)

Command to set the restrict status on a channel

void setRestrict (string $nick, string $channel, [on|off] $onoff)
  • string $nick
  • string $channel
  • [on|off] $onoff
setSecure (line 606)

Command to set the secureops option of this channel.

void setSecure (string $nick, string $channel, [on|off] $onoff)
  • string $nick
  • string $channel
  • [on|off] $onoff
time (line 187)

Returns current server time in two formats.

void time (string $nick, string $channel)
  • string $nick
  • string $channel
unban (line 704)

Unban command to remove all matching bans on a the issuer.

void unban (string $nick, string $channel)
  • string $nick
  • string $channel
unknowncmd (line 1258)

Sent when an unknown command is intercepted.

void unknowncmd (string $nick, string $command)
  • string $nick
  • string $command
__get (line 85)

Magic getter

mixed __get (string $what)
  • string $what

Documentation generated on Thu, 19 Nov 2009 20:25:11 -0700 by phpDocumentor 1.4.1