Magento: how to add a link via code to a block of a custom module ?
I'm trying to add a link to one of my blocks to a specific action of one of my controllers. Looking through the class docs and googling didn't resolve something useful. (maybe I just used the wrong search queries).

My Controller has two actions:

indexAction() and exportAction()

Now, in one of my blocks I wand to add link to exportAction(). I've found the method addLink() but this doesn't work.

Maybe anyone knows how to do that ? Or could point me to the right resources on the net ?

Regards, Alex
Magento: how to add a link via code to a block of a custom module ?
===

I'm trying to add a link to one of my blocks to a specific action of one of my controllers. Looking through the class docs and googling didn't resolve something useful. (maybe I just used the wrong search queries).

My Controller has two actions:

indexAction() and exportAction()

Now, in one of my blocks I wand to add link to exportAction(). I've found the method addLink() but this doesn't work.

Maybe anyone knows how to do that ? Or could point me to the right resources on the net ?

Regards, Alex