Version: $Revision: 18811 $
PloneChat class for file storage
PloneChatFileStorage.PloneChatFileStorage
Methods: (clearLogs, csvInsertMessagesWithoutModeration, getFilePath, getLogs, getMessages, insertNewMessage, moderateMessages, pushItem)
- method clearLogs (chat_uid) remove all moderated messages
chat_uid --> uid of PloneChat object.
PloneChatFileStorage.PloneChatFileStorage.clearLogs
PloneChatFileStorage.PloneChatFileStorage.csvInsertMessagesWithoutModeration
- method getFilePath (chat_uid, log=False, moderated=True) Return log file or csv file path
PloneChatFileStorage.PloneChatFileStorage.getFilePath
PloneChatFileStorage.PloneChatFileStorage.getLogs
PloneChatFileStorage.PloneChatFileStorage.getMessages
PloneChatFileStorage.PloneChatFileStorage.insertNewMessage
PloneChatFileStorage.PloneChatFileStorage.moderateMessages
- method pushItem (mylist, item) add a new item at the end of mylist and remove the first item
PloneChatFileStorage.PloneChatFileStorage.pushItem
Version: $Revision: 18811 $
Class containing all sql methods
PloneChatSqlStorage.PloneChatSqlMethods
Methods: (__init__)
PloneChat SQL storage
PloneChatSqlStorage.PloneChatSqlStorage
Methods: (__init__, clearLogs, dictFromSql, getLogs, getMessages, insertNewMessage, moderateMessages)
- method clearLogs (chat_uid) remove all moderated messages
chat_uid --> PloneChat object uid.
PloneChatSqlStorage.PloneChatSqlStorage.clearLogs
- method dictFromSql (results=(), names=()) Convert a list of SQL rows to a list of dictionnaries
PloneChatSqlStorage.PloneChatSqlStorage.dictFromSql
PloneChatSqlStorage.PloneChatSqlStorage.getLogs
PloneChatSqlStorage.PloneChatSqlStorage.getMessages
PloneChatSqlStorage.PloneChatSqlStorage.insertNewMessage
PloneChatSqlStorage.PloneChatSqlStorage.moderateMessages
PloneChat tool
Tool for PloneChat
PloneChatTool.PloneChatTool
Methods: (clearLogs, getCurrentMemberId, getLogs, getMessages, getSqlConnectorId, getUserList, insertNewMessage, isModerator, moderateMessages, setSqlConnectorId)
- method clearLogs (chat_uid) remove all messages from storage, but not pending ones
PloneChatTool.PloneChatTool.clearLogs
- method getCurrentMemberId () get user id from
PloneChatTool.PloneChatTool.getCurrentMemberId
- method getLogs (chat) Return all the moderated messages
PloneChatTool.PloneChatTool.getLogs
- method getMessages (moderated, chat) get messages from selected storage
PloneChatTool.PloneChatTool.getMessages
- method getSqlConnectorId ()
PloneChatTool.PloneChatTool.getSqlConnectorId
- method getUserList () Return user list from all chat
PloneChatTool.PloneChatTool.getUserList
- method insertNewMessage (messageToSend, chat) insert a new message in storage
PloneChatTool.PloneChatTool.insertNewMessage
- method isModerator () return moderation rights
PloneChatTool.PloneChatTool.isModerator
PloneChatTool.PloneChatTool.moderateMessages
PloneChat product
Version: $Revision: 19335 $
PloneChat product
Version: $Revision: 18811 $
Created by Doc-Tool V0.9.1 on Fri Mar 3 14:48:41 2006