Singleton instance
Returns an instance of Chat
Singleton pattern implementation
Load all messages for agent
Load all message for current chat
Create admin html for chat
Allow variable
$lines - html all thread lines chats
$pagination - html paginator
Incoming variable
$limit - int limit threads per page
$pages - int current page
Create html button chat
Allow variable
$user - is JSON object User
Create html chat form
Allow variable
$agent - int if this user role > 3
Add new message in current chat
Documentation generated on Fri, 19 Aug 2016 17:10:29 +0200 by phpDocumentor 1.4.3