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 |
|