Hi, everyone

Let's us suppose we created two plugins for the StatusNet. They both include 
event handler onEndPrimaryNav. I want to know which one would be executed first.

PluginA
PluginA.php
/******************************************/
class PluginA extends Plugin
{
    function onEndPrimaryNav($action)
    {
        $action->menuItem(......);
        return true;
    }
}
/******************************************/

PluginB
PluginB.php
/******************************************/
class PluginB extends Plugin
{
    function onEndPrimaryNav($action)
    {
        $action->menuItem(......);
        return true;
    }
}
/******************************************/

Is my suppose possible?  Is my suppose reasonable?

I'm a newbie in StatusNet, so I hope you will not mind my strange questions. 

Regards,
Blue


      
_______________________________________________
StatusNet-dev mailing list
StatusNet-dev@lists.status.net
http://lists.status.net/mailman/listinfo/statusnet-dev

Reply via email to