Smarty
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Source for file function.showdate.php

Documentation is available at function.showdate.php

  1. <?php
  2. /**
  3.  * Smarty plugin
  4.  * @package Smarty
  5.  * @subpackage plugins
  6.  */
  7.  
  8. /**
  9.  * smarty_function_showdate
  10.  */
  11. function smarty_function_showdate($params&$gBitSmarty)
  12. {
  13.     
  14.     extract($params);
  15.     // Param = zone
  16.  
  17.     if (empty($mode)) {
  18.         $gBitSmarty->trigger_error("assign: missing 'mode' parameter");
  19.         return;
  20.     }
  21.     print(date($mode));
  22. }
  23.  
  24. /* vim: set expandtab: */
  25.  
  26. ?>

Documentation generated on Wed, 29 Jul 2015 13:56:40 +0000 by phpDocumentor 1.5.0-lsces