<html metal:use-macro="views/apidoc_macros/details">
<body metal:fill-slot="contents">

  <h1 class="details-header"
      tal:content="context/getPath">
    zope.app.Klass
  </h1>

  <div class="indent">
    <div class="documentation" tal:content="structure view/getDoc">
      Here is the doc string
    </div>
  </div>


  <h2 class="details-section" i18n:translate="">Bases</h2>

    <div class="indent"
         tal:define="bases view/getBases">
    
    <ul class="attr-list" tal:condition="bases">
      <li tal:repeat="base bases">
        <a href=""
            tal:attributes="href string:${base/url}/index.html"
            tal:content="base/path"
            tal:condition="base/url" />
        <div tal:condition="not: base/url">
          <span tal:replace="base/path" />
          <span i18n:translate="">(C-based class)</span>
        </div>
      </li>
    </ul>
    
    <p tal:condition="not: bases">
      <em i18n:translate="">There are no base classes.</em>
    </p>
    
    </div>

  <h2 class="details-section" i18n:translate="">Implemented Interfaces</h2>

    <div class="indent"
         tal:define="ifaces view/getInterfaces">
    
    <ul class="attr-list" tal:condition="ifaces">
      <li tal:repeat="iface ifaces">
        <a href=""
           tal:attributes="href 
               string:${view/getBaseURL}/Interface/$iface/apiindex.html"
           tal:content="iface" />
      </li>
    </ul>
    
    <p tal:condition="not: ifaces">
      <em i18n:translate="">There are no implemented interfaces.</em>
    </p>
    
    </div>


  <h2 class="details-section" i18n:translate="">Attributes/Properties</h2>

  <div class="indent"
      tal:define="attributes view/getAttributes">

  <ul class="attr-list" tal:condition="attributes">
  
    <li tal:repeat="attr attributes">
      <b><code tal:content="attr/name">attr</code></b>
      <tal:omit-tag condition="not: attr/type_link">
        (type: <code tal:content="attr/type" />)
      </tal:omit-tag>
      <tal:omit-tag condition="attr/type_link">
        (<span i18n:translate="">type:</span>
        <a href="" 
           tal:attributes="href string:./index.html?path=${attr/type_link}">
          <code tal:content="attr/type" /></a>)
      </tal:omit-tag>
      <br/>
      <i i18n:translate="">Value:</i>
      <code tal:content="attr/value">u''</code><br />

      <span class="small" tal:condition="attr/interface">
        <i i18n:translate="">Interface:</i>
        <a href=""
           tal:attributes="href 
          string:${view/getBaseURL}/Interface/${attr/interface}/apiindex.html"
           tal:content="attr/interface">Iface</a><br />
      </span>
      <span class="small" 
          tal:condition="python: attr['read_perm'] and attr['write_perm']">
        <i i18n:translate="">Permissions:</i>
        <span tal:replace="attr/read_perm">zope.View</span>
            <span i18n:translate="">(read)</span>, 
        <span tal:replace="attr/write_perm">zope.View</span>
            <span i18n:translate="">(write)</span>
      </span>
    </li>

  </ul>

  <p tal:condition="not: attributes">
    <em i18n:translate="">There are no attributes in this class.</em>
  </p>

  </div>


  <h2 class="details-section" i18n:translate="">Methods</h2>

  <div class="indent"
      tal:define="methods view/getMethods">

  <ul class="attr-list" tal:condition="methods">
  
    <li tal:repeat="method view/getMethods">
      <b><code 
          tal:content="string:${method/name}${method/signature}" />
      </b><br>
      <div class="inline-documentation" tal:content="structure method/doc">
        method desc
      </div>

      <span class="small" tal:condition="method/interface">
        <i i18n:translate="">Interface:</i>
        <a href=""
           tal:attributes="href 
          string:${view/getBaseURL}/Interface/${method/interface}/apiindex.html"
           tal:content="method/interface">Iface</a><br/>
      </span>
      
      <span class="small" 
          tal:condition="python: method['read_perm'] and method['write_perm']">
        <i i18n:translate="">Permissions:</i>
        <span tal:replace="method/read_perm">zope.View</span>
            <span i18n:translate="">(read)</span>, 
        <span tal:replace="method/write_perm">zope.View</span>
            <span i18n:translate="">(write)</span>
      </span>
    </li>

  </ul>

  <p tal:condition="not: methods">
    <em i18n:translate="">There are no methods in this class.</em>
  </p>

  </div>


</body>
</html>
