Class Mailbox

Description

Implements a Mailbox within the chat

  • version: $Id: class.Mailbox.inc,v 1.14 2003/03/04 17:49:14 letreo Exp $
  • access: public
  • author: Michael Oertel <michael@ortelius.de>

Located in Program_Root/include/class.Mailbox.inc (line 40)


	
			
Variable Summary
array $bodies
array $mailbox
array $mails
array $recipients
array $subjects
array $times
string $type
Method Summary
void Mailbox ($box $box_type)
void connect ()
boolean delete_mail (mixed $key)
void disconnect ()
string get_chatter (object $mail, mixed $chatter)
array get_current_mail (mixed $key)
integer get_mail_count ()
string get_type ()
boolean is_empty ()
Variables
array $bodies = array() (line 74)
integer $connection_count (line 54)
array $mailbox = array() (line 59)
array $mails = array() (line 64)
array $recipients = array() (line 84)
array $subjects = array() (line 69)
array $times = array() (line 79)
string $type (line 89)
integer $unread_mail_count (line 94)
Methods
Constructor Mailbox (line 102)

Implements a mailbox

void Mailbox ($box $box_type)
  • $box $box_type: string
connect (line 143)

Connect to the database

Establish a database connection

  • access: public
void connect ()
delete_mail (line 274)

Deletes an mail-object in current mailbox

  • access: public
boolean delete_mail (mixed $key)
disconnect (line 164)

Disconnect the database

void disconnect ()
get_chatter (line 289)

Provides the name of sender or recipient of given mail

  • access: public
string get_chatter (object $mail, mixed $chatter)
  • object $mail
get_current_mail (line 260)

Provides an mail-object of current mailbox

  • access: public
array get_current_mail (mixed $key)
get_mail_count (line 227)

Provides the count of mails in the current mailbox

  • access: public
integer get_mail_count ()
get_type (line 249)

Provides the type of mailbox

  • access: public
string get_type ()
get_unread_mail_count (line 238)

Provides the count of *new* mails in the current mailbox

  • access: public
integer get_unread_mail_count ()
is_empty (line 216)

Provides the fill level of mailbox

  • access: public
boolean is_empty ()

Documention generated on Fri, 2 May 2003 10:50:47 +0200 by phpDocumentor 1.2.0rc2