Hi,

First of all, thanks for Zach's reply.

I have read nearly all the wiki articles on StatusNet plugin development, but I 
was still confused about the concept of EVENT and HOOK. 

For example, the PluginA has a event handler.

/****************************************/
//plugina.php
......
class PluginA extends Plugin
{
    function onStartPrimaryNav($action)
    {
        return true;
    }
}
......
/****************************************/

The EVENT is StartPrimaryNav, and the HOOK is StartPrimaryNav. Am I right? If 
so, does't it mean that the EVENT and the HOOK are same thing?

Regards,
Blue

P.S.
How to use mailing list? reply to statusnet-dev-requ...@lists.status.net 
directly, or mail to statusnet-...@lists.status.net. 



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

Reply via email to