OutBox Class Reference

Inheritance diagram for OutBox:
MessageBox

Public Member Functions

 __construct ($userId=NULL, $messageStrategy=NULL)
 loadMessageList ()
 getNumberOfMessage ()
 getNumberOfPage ()
 current ()

Protected Member Functions

 loadNumberOfMessage ()

Detailed Description

Definition at line 25 of file outbox.lib.php.


Constructor & Destructor Documentation

__construct ( userId = NULL,
messageStrategy = NULL 
)

create an object outbox for a user and with some stragegies

Parameters:
int $userId user identification
SelectorStrategy $messageStrategy strategy to apply

Reimplemented from MessageBox.

Definition at line 34 of file outbox.lib.php.


Member Function Documentation

current (  ) 

return the current message

Returns:
SentMessage current message

Definition at line 137 of file outbox.lib.php.

getNumberOfMessage (  ) 

return the number of message in the current box (with strategy applied)

Returns:
int number of message in the current box

Reimplemented from MessageBox.

Definition at line 88 of file outbox.lib.php.

getNumberOfPage (  ) 

return the number of page in the current box(with strategy applied)

Returns:
int number of page

Definition at line 127 of file outbox.lib.php.

loadMessageList (  ) 
See also:
MessageBox

Reimplemented from MessageBox.

Definition at line 48 of file outbox.lib.php.

loadNumberOfMessage (  )  [protected]

Definition at line 96 of file outbox.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:39 2010 for Claroline API by  doxygen 1.6.3