NAME

Yote::Util::ChatBoard

DESCRIPTION

The ChatBoard is a very simple queue for posts. It can be configured to require login.

AUTHOR

Eric Wolf

PUBLIC API METHODS

post( message_or_list )

Post a message to the board. If a user is logged in, the argument is a string message. If not, the message is a list reference where the first argument is the message and the second the name of the poster. The message board does not allow anonymous posting by default. This is controlled by the requires_account switch.

remove_post( post )

Removes the given post from this Chat Board. Must be admin or owner to do so.

sync_all

Sends all the messages in this chat board to the client at once.

LICENSE AND COPYRIGHT

Copyright (C) 2011 Eric Wolf

This module is free software; it can be used under the same terms as perl itself.