title: How to write this code with cakephp 2.2.1 html helper?
body: <p>I probably made a monster when writing an echo for outputting generated links :( I don't understand how to concatenate all this params when using HtmlHelper. I read article about it twice but don't get it.</p>
  
  <p>My code is:</p>
  
  <pre><code>echo "&lt;a href=\"/img/filmography/" . $movie['Film']['frameset'] . 
       "_frame_" . $i . ".jpg\"" . "rel=\"lightbox[" . $movie['Film']['id'] . 
       "]\"" . " title=\"\"&gt;" 
  
       . "&lt;img src=\"/img/filmography/thumb/" . $movie['Film']['frameset'] . 
       "_frame_" . $i . ".jpg\"" . "alt=\"pic from " . $movie['Film']['title'] . 
       "\"" . "/&gt;&lt;/a&gt;";
  </code></pre>
  
  <p>What I want to achieve in HTML:</p>
  
  <pre><code>   &lt;a href="/img/filmography/movie_frame_1.jpg" rel="lightbox[1]" title=""&gt;
          &lt;img src="/img/filmography/thumb/movie_frame_1.jpg" 
               alt="pic from some movie"/&gt;
     &lt;/a&gt;
  </code></pre>