Location: PHPKode > projects > PHP Project Navigator > ppnav-0.1/smarty/templates/class_summary.tpl
{*

  COPYRIGHT
    Copyright (C) 2006 Scott Brumbaugh.  All rights reserved.

  LICENSE
    You may distribute this work under the terms of the GNU General
    Public License Version 2, or at your option any later version.
    See the COPYING file for the license text.

  $Id: class_summary.tpl 3 2006-10-05 15:17:51Z brumbs $

*}
<html>
<head>
<title>{$title}</title>
<link rel="stylesheet" href="css/style.css" type="text/css" />
</head>
<body>
{include file=body_header.tpl title=$title}

Goto: 
      <a href="#class_documentation">Class Documentation</a>&nbsp;
      <a href="#base_class_list">Base Classes</a>&nbsp;
      <a href="#sub_class_list">Sub Classes</a>&nbsp;
      <a href="#property_list">Property Declarations</a>&nbsp;
      <a href="#method_list">Method Declarations</a>&nbsp;
</p>

<a name="class_documentation" href="#"><b>Class Documentation</b></a>
{if $doc_text}
<div class="class_doc"><pre>{$doc_text}</pre></div>
{else}
<div><b>None</b></div>
{/if}

<br/>

<a name="base_class_list" href="#"><b>Base Classes</b></a>
{if count($base_classes)}
<div class="base_list"> 
{section name=base loop=$base_classes}
 <a href="{$base_classes[base].summary_url}">{$base_classes[base].symbol_name}</a>&nbsp;
{/section}
</div>
{else}
<div><b>None</b></div>
{/if}

<br/>

<a name="base_class_list" href="#"><b>Sub Classes</b></a>
{if count($sub_classes)}
<div class="base_list"> 
{section name=sub_class loop=$sub_classes}
 <a href="{$sub_classes[sub_class].summary_url}">{$sub_classes[sub_class].symbol_name}</a>&nbsp;
{/section}
</div>
{else}
<div><b>None</b></div>
{/if}

<br/>

<table class="class_member_list">

 <tr>
  <td>
   <table> 
    <tr>
     <th align="left" colspan="3"><a name="property_list" href="#">Properties</a></th>
    </tr>
    {if !$property_decls}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <th></th>
     <th align="left">Name</th>
     <th align="left">Documentation</th>
    </tr>
    <!-- property decls -->
    {section name=property_decl loop=$property_decls}
    <tr class="{cycle name=row_colors values="even,odd"}" valign="top">
     <td class="image"><a href="{$property_decls[property_decl].source_url}"><img src="icons/text.gif" border="0"></a></td>
     <td><a href="{$property_decls[property_decl].summary_url}">{$property_decls[property_decl].symbol_name}</a></td>
     <td><pre>{$property_decls[property_decl].doc_text}</pre></td>
    </tr>
    {/section}
    {/if}
   </table>
  </td>
 </tr>

 <tr>
  <td>
   <table>
    <tr>
     <th align="left" colspan="3"><a name="method_list" href="#">Methods</a></th>
    </tr>
    {if !$method_decls}
    <tr>
     <td><b>None</b></td>
    </tr>
    {else}
    <tr>
     <th></th>
     <th align="left">Name</th>
     <th align="left">Documentation</th>
    </tr>
 
    <!-- method decls -->
    {* reset the cycle counter to even *}
    {cycle values="even,odd" name=row_colors reset=true advance=false print=false}
    {section name=method_decl loop=$method_decls}
    <tr class="{cycle name=row_colors}" valign="top">
     <td class="image"><a href="{$method_decls[method_decl].source_url}"><img src="icons/text.gif" border="0"></a></td>
     <td><a href="{$method_decls[method_decl].summary_url}">{$method_decls[method_decl].symbol_name}</a></td>
     <td><pre>{$method_decls[method_decl].doc_text}</pre></td>
    </tr>
    {/section}
    {/if}
   </table>
  </td>
 </tr>

</table>
{include file=body_footer.tpl}
</body>
</html>
Return current item: PHP Project Navigator