[ Index ]

krapohl.info

title

Body

[close]

/pnincludes/Smarty/plugins/ -> function.debug.php (source)

   1  <?php
   2  
   3  /*
   4   * Smarty plugin
   5   * -------------------------------------------------------------
   6   * Type:     function
   7   * Name:     debug
   8   * Version:  1.0
   9   * Date:     July 1, 2002
  10   * Author:     Monte Ohrt <monte@ispi.net>
  11   * Purpose:  popup debug window
  12   * -------------------------------------------------------------
  13   */
  14  function smarty_function_debug($params, &$smarty)
  15  {
  16      if($params['output']) {
  17          $smarty->assign('_smarty_debug_output',$params['output']);
  18      }
  19      echo $smarty->_generate_debug_output();
  20  }
  21  
  22  /* vim: set expandtab: */
  23  
  24  ?>


Generated: Wed Feb 16 22:40:07 2005 Cross-referenced by PHPXref 0.6