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

  1. <?php /* Smarty version 2.5.0, created on 2003-10-12 23:37:00
  2.          compiled from method.tpl */ ?>
  3. <?php $this->_load_plugins(array(
  4. array('modifier', 'default', 'method.tpl', 4, false),
  5. array('modifier', 'replace', 'method.tpl', 16, false),)); ?><refentry id="<?php echo $this->_tpl_vars['id']; ?>
  6. ">
  7.    <refnamediv>
  8.     <refname><?php if ($this->_tpl_vars['function_call']['constructor']): ?>constructor <?php endif; ?><function><?php echo $this->_tpl_vars['class']; ?>
  9. ::<?php echo $this->_tpl_vars['function_name']; ?>
  10. </function></refname>
  11.     <refpurpose><?php echo $this->_run_mod_handler('default', true, @$this->_tpl_vars['sdesc'], @$this->_tpl_vars['function_name']); ?>
  12. </refpurpose>
  13.    </refnamediv>
  14.    <refsynopsisdiv>
  15.     <funcsynopsis>
  16.      <funcsynopsisinfo>
  17.       require_once '<?php echo $this->_tpl_vars['source_location']; ?>
  18. ';
  19.      </funcsynopsisinfo>
  20.      <funcprototype>
  21.       <funcdef><?php echo $this->_tpl_vars['function_return']; ?>
  22. <?php if ($this->_tpl_vars['function_call']['returnsref']): ?>&<?php endif; ?>
  23.       <?php if ($this->_tpl_vars['function_call']['constructor']): ?>constructor <?php endif; ?><function><?php echo $this->_tpl_vars['class']; ?>
  24. ::<?php echo $this->_tpl_vars['function_name']; ?>
  25. </function></funcdef>
  26. <?php if (count ( $this->_tpl_vars['function_call']['params'] )): ?>
  27. <?php if (isset($this->_sections['params'])) unset($this->_sections['params']);
  28. $this->_sections['params']['name'] = 'params';
  29. $this->_sections['params']['loop'] = is_array($this->_tpl_vars['function_call']['params']) ? count($this->_tpl_vars['function_call']['params']) : max(0, (int)$this->_tpl_vars['function_call']['params']);
  30. $this->_sections['params']['show'] = true;
  31. $this->_sections['params']['max'] = $this->_sections['params']['loop'];
  32. $this->_sections['params']['step'] = 1;
  33. $this->_sections['params']['start'] = $this->_sections['params']['step'] > 0 ? 0 : $this->_sections['params']['loop']-1;
  34. if ($this->_sections['params']['show']) {
  35.     $this->_sections['params']['total'] = $this->_sections['params']['loop'];
  36.     if ($this->_sections['params']['total'] == 0)
  37.         $this->_sections['params']['show'] = false;
  38. } else
  39.     $this->_sections['params']['total'] = 0;
  40. if ($this->_sections['params']['show']):
  41.  
  42.             for ($this->_sections['params']['index'] = $this->_sections['params']['start'], $this->_sections['params']['iteration'] = 1;
  43.                  $this->_sections['params']['iteration'] <= $this->_sections['params']['total'];
  44.                  $this->_sections['params']['index'] += $this->_sections['params']['step'], $this->_sections['params']['iteration']++):
  45. $this->_sections['params']['rownum'] = $this->_sections['params']['iteration'];
  46. $this->_sections['params']['index_prev'] = $this->_sections['params']['index'] - $this->_sections['params']['step'];
  47. $this->_sections['params']['index_next'] = $this->_sections['params']['index'] + $this->_sections['params']['step'];
  48. $this->_sections['params']['first']      = ($this->_sections['params']['iteration'] == 1);
  49. $this->_sections['params']['last']       = ($this->_sections['params']['iteration'] == $this->_sections['params']['total']);
  50. ?>
  51.       <paramdef><?php if (strpos ( '>' , $this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['type'] )): ?><replaceable><?php endif; ?><?php echo $this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['type']; ?>
  52. <?php if (strpos ( '>' , $this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['type'] )): ?></replaceable><?php endif; ?> <parameter><?php if ($this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['default'] != ''): ?> <optional><?php endif; ?><?php echo $this->_run_mod_handler('replace', true, $this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['name'], "&", "&"); ?>
  53. <?php if ($this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['default'] != ''): ?> = <?php echo $this->_tpl_vars['function_call']['params'][$this->_sections['params']['index']]['default']; ?>
  54. </optional><?php endif; ?></parameter></paramdef>
  55. <?php endfor; endif; ?>
  56. <?php else: ?>
  57. <paramdef></paramdef>
  58. <?php endif; ?>
  59.      </funcprototype>
  60.     </funcsynopsis>
  61.     </refsynopsisdiv>
  62. <?php $_smarty_tpl_vars = $this->_tpl_vars;
  63. $this->_smarty_include("docblock.tpl", array('cparams' => $this->_tpl_vars['params'],'params' => $this->_tpl_vars['function_call']['params'],'desc' => $this->_tpl_vars['desc'],'tags' => $this->_tpl_vars['tags']));
  64. $this->_tpl_vars = $_smarty_tpl_vars;
  65. unset($_smarty_tpl_vars);
  66.  ?>
  67. </refentry>
  68. <!-- Keep this comment at the end of the file
  69. Local variables:
  70. mode: sgml
  71. sgml-omittag:t
  72. sgml-shorttag:t
  73. sgml-minimize-attributes:nil
  74. sgml-always-quote-attributes:t
  75. sgml-indent-step:1
  76. sgml-indent-data:t
  77. sgml-parent-document:nil
  78. sgml-default-dtd-file:"../../../../manual.ced"
  79. sgml-exposed-tags:nil
  80. sgml-local-catalogs:nil
  81. sgml-local-ecat-files:nil
  82. End:
  83. vim600: syn=xml fen fdm=syntax fdl=2 si
  84. vim: et tw=78 syn=sgml
  85. vi: ts=1 sw=1
  86. -->  
  87.  
  88.