Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/html/07_inheritance_result_8html-example.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>SithTemplate: 07_inheritance_result.html</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.2 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<h1>07_inheritance_result.html</h1>  </div>
</div>
<div class="contents">
<p>Inheritance example - rendered child template.</p>
<div class="fragment"><pre class="fragment">&lt;!DOCTYPE html&gt;
&lt;html lang=<span class="stringliteral">&quot;en&quot;</span>&gt;
 &lt;head&gt;
  &lt;link rel=<span class="stringliteral">&quot;stylesheet&quot;</span> href=<span class="stringliteral">&quot;style.css&quot;</span>&gt;
  &lt;title&gt;Awesome HTML5 site&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
  &lt;div <span class="keywordtype">id</span>=<span class="stringliteral">&quot;main&quot;</span>&gt;
   &lt;p&gt;
    And here is overriden contents of <span class="keyword">this</span> block!
   &lt;/p&gt;
  &lt;/div&gt;
  
  &lt;div <span class="keywordtype">id</span>=<span class="stringliteral">&quot;somethingelse&quot;</span>&gt;
   &lt;p&gt;
    This one shows how to use parent block<span class="stringliteral">&#39;s contents.</span>
<span class="stringliteral">   &lt;/p&gt;</span>
<span class="stringliteral">   &lt;p&gt;</span>
<span class="stringliteral">    Foo.</span>
<span class="stringliteral">   &lt;/p&gt;</span>
<span class="stringliteral">  &lt;/div&gt;</span>
<span class="stringliteral">&lt;/body&gt;</span>
<span class="stringliteral">&lt;/html&gt;</span>
</pre></div> </div>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Fri Jan 14 2011 20:08:36 for SithTemplate by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address>
</body>
</html>
Return current item: SithTemplate