We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

How to interact with another plugin from a plugin? | Forum

Guna
Guna Sep 20 '14
I need to get the function from a plugin to use it in my oxwall plugin. How to do that? I have seen the below source code in groups plugin->component->invite_widget.php


if ( OW::getEventManager()->call('plugin.friends') )        

{            

    $users = OW::getEventManager()->call('plugin.friends.get_friend_list', array(   

             'userId' => $userId, 

             'count' => 100

            ));  

}


Can anyone explain about how things works?

The Forum post is edited by Guna Sep 20 '14
Guna
Guna Sep 25 '14
Anybody else? I am stranded in a project due to this connection