Search:

# CWIS Developers Documentation

# MessageFactory Class Reference

Factory for forum messages / resource comments. More...

Collaboration diagram for MessageFactory:
[legend]

## Setup/Initialization
| MessageFactory ()
| Object constructor.
## Accessors
| GetMessagesPostedByUser ($UserId, $Count=NULL)
| Get all messages posted by specified user, in reverse date order.

List of all members.

## Detailed Description

Factory for forum messages / resource comments.

Definition at line 16 of file MessageFactory.php.

Inheritance diagram for MessageFactory:
[legend]

## Member Function Documentation

MessageFactory::GetMessagesPostedByUser | ( | $ | UserId,
|  | $ | Count = `NULL`
| ) |  |

Get all messages posted by specified user, in reverse date order.

Parameters:

  UserId | ID of user.
  Count | Number of messages to retrieve. (OPTIONAL)

Returns:
  Array of messages.

Definition at line 40 of file MessageFactory.php.

MessageFactory::MessageFactory | ( | ) |

Object constructor.

Definition at line 24 of file MessageFactory.php.

References ItemFactory::ItemFactory().

The documentation for this class was generated from the following file:

- MessageFactory.php