title: Typo3 Generate link in controller
body: <p>I'm facing with issue like this : 
  I'm trying to get uri in controller. I created an API and return link via JSON. In view I can do this</p>
  
  <pre><code>&lt;f:link.action action="list" arguments="{location : location, myId : location.uid}"&gt;&gt;&amp;nbsp;&lt;/f:link.action&gt;
  </code></pre>
  
  <p>But how to generate above link in controller?
  Thanks in advance.</p>