title: layout.phtml issue in zend framework1
body: <pre><code>&lt;?php
  $this-&gt;headMeta()-&gt;appendHttpEquiv('Content-Type', 'text/html;charset=utf-8');
  $this-&gt;headTitle()-&gt;setSeparator(' - ');
  $this-&gt;headTitle('Zend Framework Tutorial');
  echo $this-&gt;doctype(); ?&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"&gt;
  &lt;head&gt;
  &lt;?php echo $this-&gt;headMeta(); ?&gt;
  &lt;?php echo $this-&gt;headTitle(); ?&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="content"&gt;
  &lt;h1&gt;&lt;?php echo $this-&gt;escape($this-&gt;title); ?&gt;&lt;/h1&gt;
  &lt;?php echo $this-&gt;layout()-&gt;content; ?&gt;
  &lt;/div&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p>Above code is taken from this tutorial: <code>http://akrabat.com/wp-content/uploads/Getting-Started-with-Zend-Framework.pdf</code>  it is on page 10, file is : <code>zf-tutorial/application/layouts/scripts/layout.phtml</code></p>
  
  <p></p>
  
  <p>Question:</p>
  
  <ol>
  <li><p>what is this line for? <code>$this-&gt;headTitle()-&gt;setSeparator(' - ');</code></p></li>
  <li><p>why we need this line: <code>&lt;?php echo $this-&gt;escape($this-&gt;title); ?&gt;</code> I guess 'escape' is for security, but what does it actully mean here?</p></li>
  </ol>