Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: /home/inri/public_html/daCode-HEAD/daCode/src/phplib/messages.php3
daCode -

Message

Message

Interface to handle all private messages between users

 

private class Message

Interface to handle all private messages between users

daCode http://www.dacode.org/
src/phplib/messages.php3
$Id: messages.php3,v 1.57 2002/05/13 21:34:02 jbcombes Exp $

Depends: Config Db User Html

 

Public Method Summary

void

Message()

Class constructor.
mixed

add_new_message(array $row)

Add a new message into table message
string

show_new_message(array $row)

Produce html form to write a message
string

show_new_title()

Produce a box to warn about new message into mailbox
mixed

del_message([ string $message_id ])

Remove a message from DB
string

view_message(array $row)

Show a message in order to read it and eventually answer
string

show_received()

Show the list of messages received by a user
string

show_sent()

Show the list of messages send by a user

Private Field Summary

unknown

$session

Public Method Details

Message

public void Message( )

  Class constructor.

Returns void


add_new_message

public mixed add_new_message( array $row )

  Add a new message into table message

Parameter
array $row
of fields to record into message's table
Returns mixed

Error string or header of a new page


show_new_message

public string show_new_message( array $row )

  Produce html form to write a message

Parameter
array $row
of fields read from message's table
Returns string

html to be displayed


show_new_title

public string show_new_title( )

  Produce a box to warn about new message into mailbox

Returns string

html to be displayed


del_message

public mixed del_message( [ string $message_id ] )

  Remove a message from DB

Parameter
string $message_id = >>""<<
of message to be deleted (but why is it string?!)
Returns mixed

Error string or header of a new page


view_message

public string view_message( array $row )

  Show a message in order to read it and eventually answer

Parameter
array $row
id of the message
Returns string

html to be displayed


show_received

public string show_received( )

  Show the list of messages received by a user

Returns string

html array to be displayed of all received messages


show_sent

public string show_sent( )

  Show the list of messages send by a user

Returns string

html array to be displayed of all send messages


Private Field Details

$session

private unknown $session

>><<




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta