From 714a68ffac91897c0d4e83c8175d2d3800c60a3e Mon Sep 17 00:00:00 2001 From: Ilya Bakhlin Date: Mon, 23 Sep 2019 13:22:06 +0200 Subject: [PATCH] Updating some methods' encapsulation. (#1379) The following methods' encapsulation was modified: - \erLhcoreClassChatExport::chatExportXML - \erLhcoreClassChatExport::chatExportJSON --- lhc_web/lib/core/lhchat/lhchatexport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lhc_web/lib/core/lhchat/lhchatexport.php b/lhc_web/lib/core/lhchat/lhchatexport.php index b0f875e1c7..55b8bd5d7d 100644 --- a/lhc_web/lib/core/lhchat/lhchatexport.php +++ b/lhc_web/lib/core/lhchat/lhchatexport.php @@ -2,13 +2,13 @@ class erLhcoreClassChatExport { - public function chatExportXML(erLhcoreClassModelChat $chat) { + public static function chatExportXML(erLhcoreClassModelChat $chat) { $tpl = new erLhcoreClassTemplate('lhexport/xml.tpl.php'); $tpl->set('chat', $chat); return $tpl->fetch(); } - public function chatExportJSON(erLhcoreClassModelChat $chat) { + public static function chatExportJSON(erLhcoreClassModelChat $chat) { $tpl = new erLhcoreClassTemplate('lhexport/json.tpl.php'); $tpl->set('chat', $chat); return $tpl->fetch(); @@ -235,4 +235,4 @@ public static function chatListExportXLS($chats, $params = array()) { } } -?> \ No newline at end of file +?>