home *** CD-ROM | disk | FTP | other *** search
/ Enter 2004 June / ENTER.ISO / files / xampp-win32-1.4.5-installer.exe / xampp / constants.tpl < prev    next >
Encoding:
Text File  |  2004-03-24  |  8.3 KB  |  155 lines

  1. <?php /* Smarty version 2.5.0, created on 2003-08-08 13:01:04
  2.          compiled from constants.tpl */ ?>
  3. <?php $this->_load_plugins(array(
  4. array('function', 'assign', 'constants.tpl', 17, false),)); ?><refentry id="<?php echo $this->_tpl_vars['id']; ?>
  5. ">
  6.    <refnamediv>
  7.     <refname>Package <?php echo $this->_tpl_vars['package']; ?>
  8.  Constants</refname>
  9.     <refpurpose>Constants defined in and used by <?php echo $this->_tpl_vars['package']; ?>
  10. </refpurpose>
  11.    </refnamediv>
  12.    <refsect1 id="<?php echo $this->_tpl_vars['id']; ?>
  13. .details">
  14.     <title>All Constants</title>
  15. <?php if (isset($this->_sections['files'])) unset($this->_sections['files']);
  16. $this->_sections['files']['name'] = 'files';
  17. $this->_sections['files']['loop'] = is_array($this->_tpl_vars['defines']) ? count($this->_tpl_vars['defines']) : max(0, (int)$this->_tpl_vars['defines']);
  18. $this->_sections['files']['show'] = true;
  19. $this->_sections['files']['max'] = $this->_sections['files']['loop'];
  20. $this->_sections['files']['step'] = 1;
  21. $this->_sections['files']['start'] = $this->_sections['files']['step'] > 0 ? 0 : $this->_sections['files']['loop']-1;
  22. if ($this->_sections['files']['show']) {
  23.     $this->_sections['files']['total'] = $this->_sections['files']['loop'];
  24.     if ($this->_sections['files']['total'] == 0)
  25.         $this->_sections['files']['show'] = false;
  26. } else
  27.     $this->_sections['files']['total'] = 0;
  28. if ($this->_sections['files']['show']):
  29.  
  30.             for ($this->_sections['files']['index'] = $this->_sections['files']['start'], $this->_sections['files']['iteration'] = 1;
  31.                  $this->_sections['files']['iteration'] <= $this->_sections['files']['total'];
  32.                  $this->_sections['files']['index'] += $this->_sections['files']['step'], $this->_sections['files']['iteration']++):
  33. $this->_sections['files']['rownum'] = $this->_sections['files']['iteration'];
  34. $this->_sections['files']['index_prev'] = $this->_sections['files']['index'] - $this->_sections['files']['step'];
  35. $this->_sections['files']['index_next'] = $this->_sections['files']['index'] + $this->_sections['files']['step'];
  36. $this->_sections['files']['first']      = ($this->_sections['files']['iteration'] == 1);
  37. $this->_sections['files']['last']       = ($this->_sections['files']['iteration'] == $this->_sections['files']['total']);
  38. ?>
  39.     <refsect2 id="<?php echo $this->_tpl_vars['id']; ?>
  40. .details.<?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['page']; ?>
  41. ">
  42.      <title>
  43.       Constants defined in <?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['name']; ?>
  44.  
  45.      </title>
  46.      <para>
  47.       <table>
  48.        <title>Constants defined in <?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['name']; ?>
  49. </title>
  50. <?php if (isset($this->_sections['d'])) unset($this->_sections['d']);
  51. $this->_sections['d']['name'] = 'd';
  52. $this->_sections['d']['loop'] = is_array($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']) ? count($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']) : max(0, (int)$this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']);
  53. $this->_sections['d']['show'] = true;
  54. $this->_sections['d']['max'] = $this->_sections['d']['loop'];
  55. $this->_sections['d']['step'] = 1;
  56. $this->_sections['d']['start'] = $this->_sections['d']['step'] > 0 ? 0 : $this->_sections['d']['loop']-1;
  57. if ($this->_sections['d']['show']) {
  58.     $this->_sections['d']['total'] = $this->_sections['d']['loop'];
  59.     if ($this->_sections['d']['total'] == 0)
  60.         $this->_sections['d']['show'] = false;
  61. } else
  62.     $this->_sections['d']['total'] = 0;
  63. if ($this->_sections['d']['show']):
  64.  
  65.             for ($this->_sections['d']['index'] = $this->_sections['d']['start'], $this->_sections['d']['iteration'] = 1;
  66.                  $this->_sections['d']['iteration'] <= $this->_sections['d']['total'];
  67.                  $this->_sections['d']['index'] += $this->_sections['d']['step'], $this->_sections['d']['iteration']++):
  68. $this->_sections['d']['rownum'] = $this->_sections['d']['iteration'];
  69. $this->_sections['d']['index_prev'] = $this->_sections['d']['index'] - $this->_sections['d']['step'];
  70. $this->_sections['d']['index_next'] = $this->_sections['d']['index'] + $this->_sections['d']['step'];
  71. $this->_sections['d']['first']      = ($this->_sections['d']['iteration'] == 1);
  72. $this->_sections['d']['last']       = ($this->_sections['d']['iteration'] == $this->_sections['d']['total']);
  73. ?>
  74. <?php if ($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['conflicts']): ?><?php echo smarty_function_assign(array('var' => 'defineconflict','value' => true), $this) ; ?>
  75. <?php endif; ?>
  76. <?php endfor; endif; ?>
  77.        <tgroup cols="<?php if ($this->_tpl_vars['defineconflict']): ?>4<?php else: ?>3<?php endif; ?>">
  78.         <thead>
  79.          <row>
  80.           <entry>Name</entry>
  81.           <entry>Value</entry>
  82.           <entry>Line Number</entry>
  83. <?php if ($this->_tpl_vars['defineconflict']): ?>
  84.           <entry>Conflicts with other packages</entry>
  85. <?php endif; ?>
  86.           </row>
  87.         </thead>
  88.         <tbody>
  89. <?php if (isset($this->_sections['d'])) unset($this->_sections['d']);
  90. $this->_sections['d']['name'] = 'd';
  91. $this->_sections['d']['loop'] = is_array($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']) ? count($this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']) : max(0, (int)$this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines']);
  92. $this->_sections['d']['show'] = true;
  93. $this->_sections['d']['max'] = $this->_sections['d']['loop'];
  94. $this->_sections['d']['step'] = 1;
  95. $this->_sections['d']['start'] = $this->_sections['d']['step'] > 0 ? 0 : $this->_sections['d']['loop']-1;
  96. if ($this->_sections['d']['show']) {
  97.     $this->_sections['d']['total'] = $this->_sections['d']['loop'];
  98.     if ($this->_sections['d']['total'] == 0)
  99.         $this->_sections['d']['show'] = false;
  100. } else
  101.     $this->_sections['d']['total'] = 0;
  102. if ($this->_sections['d']['show']):
  103.  
  104.             for ($this->_sections['d']['index'] = $this->_sections['d']['start'], $this->_sections['d']['iteration'] = 1;
  105.                  $this->_sections['d']['iteration'] <= $this->_sections['d']['total'];
  106.                  $this->_sections['d']['index'] += $this->_sections['d']['step'], $this->_sections['d']['iteration']++):
  107. $this->_sections['d']['rownum'] = $this->_sections['d']['iteration'];
  108. $this->_sections['d']['index_prev'] = $this->_sections['d']['index'] - $this->_sections['d']['step'];
  109. $this->_sections['d']['index_next'] = $this->_sections['d']['index'] + $this->_sections['d']['step'];
  110. $this->_sections['d']['first']      = ($this->_sections['d']['iteration'] == 1);
  111. $this->_sections['d']['last']       = ($this->_sections['d']['iteration'] == $this->_sections['d']['total']);
  112. ?>
  113.          <row>
  114.           <entry><?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['name']; ?>
  115. </entry>
  116.           <entry><?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['value']; ?>
  117. </entry>
  118.           <entry><?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['line_number']; ?>
  119. </entry>
  120. <?php if ($this->_tpl_vars['defineconflict']): ?>
  121.           <entry><?php echo $this->_tpl_vars['defines'][$this->_sections['files']['index']]['defines'][$this->_sections['d']['index']]['conflicts']; ?>
  122. </entry>
  123. <?php endif; ?>
  124.          </row>
  125. <?php endfor; endif; ?>
  126.         </tbody>
  127.        </tgroup>
  128.       </table>
  129.      </para>
  130.     </refsect2>
  131. <?php endfor; endif; ?>
  132.  </refsect1>
  133. </refentry>
  134. <!-- Generated by phpDocumentor v <?php echo $this->_tpl_vars['phpdocversion']; ?>
  135.  <?php echo $this->_tpl_vars['phpdocwebsite']; ?>
  136.  -->
  137. <!-- Keep this comment at the end of the file
  138. Local variables:
  139. mode: sgml
  140. sgml-omittag:t
  141. sgml-shorttag:t
  142. sgml-minimize-attributes:nil
  143. sgml-always-quote-attributes:t
  144. sgml-indent-step:1
  145. sgml-indent-data:t
  146. sgml-parent-document:nil
  147. sgml-default-dtd-file:"../../../../manual.ced"
  148. sgml-exposed-tags:nil
  149. sgml-local-catalogs:nil
  150. sgml-local-ecat-files:nil
  151. End:
  152. vim600: syn=xml fen fdm=syntax fdl=2 si
  153. vim: et tw=78 syn=sgml
  154. vi: ts=1 sw=1
  155. -->