Hi, all
I'm learning the plugin development. In
/statusnet/plugins/Sample/SamplePlugin.php, there is the following sentence in
onRouterInitialized($m) function.
$m->connect('main/hello', array('action' => 'hello'));
I want to know why the path to connect is 'main/hello' but not others, for
example 'xxx/yyy' . I read the class Net_URL_Mapper and class
Net_URL_Mapper_Path, but I didn't work out it. Could you please help me? Thanks!
Best regards,
Blue
_______________________________________________
StatusNet-dev mailing list
[email protected]
http://lists.status.net/mailman/listinfo/statusnet-dev