From 5c7d525871df6a8abadaeafd7c8dad3b43a606e8 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Fri, 21 Sep 2012 15:56:44 +0000 Subject: [PATCH] Update Plugin class documentation --- src/messenger/webim/libs/classes/plugin.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/messenger/webim/libs/classes/plugin.php b/src/messenger/webim/libs/classes/plugin.php index 5cf01797..a9252a00 100644 --- a/src/messenger/webim/libs/classes/plugin.php +++ b/src/messenger/webim/libs/classes/plugin.php @@ -48,6 +48,13 @@ abstract Class Plugin { /** * Register listeners + * + * Event listener take one argument by reference. For example: + * + * public function testListener(&$arguments) { + * $arguments['result'] = 'Test string'; + * } + * */ abstract public function registerListeners();