Base
[ class tree: Base ] [ index: Base ] [ all elements ]

Class: Message

Source Location: /lib/message.php

Class Overview


A library used to send messages to the public forum (could be merged with something else)


Methods



Class Details

[line 28]
A library used to send messages to the public forum (could be merged with something else)



[ Top ]


Class Methods


static method send [line 41]

static int send( int $toID, int $fromUserID, string $message, [string[optional] $subject = ""], [string[optional] $type = 'Bulletin'])

Send a message to the public forum. The variables passed are assumed to be already sanitized



Tags:

return:  The message ID
access:  public


Parameters:

int   $toID   User/Thread ID to send to
int   $fromUserID   UserID sent from
string   $message   The message to be sent
string[optional]   $subject   The subject
string[optional]   $type   'Bulletin'(GameMaster->Player) 'ThreadStart'(User->All) 'ThreadReply'(User->Thread)

[ Top ]


Documentation generated on Thu, 13 Nov 2008 18:16:12 +0900 by phpDocumentor 1.4.1